Anthony Andersons character actually says he knows him from the academy when Leo comes in to talk to Matt Damon's character after Martin Sheen dies.So either he is being a good cop and not disclosing the undercover identity, or they ****** up making the movie.