The star took to the BET Awards stage on Sunday to introduce a clip from his upcoming action comedy, and he took the opportunity to slam another film he recently worked on.
"I can't wait to tell you about that joint Baby Driver! It's crazy, it's cool, and it ain't a typical film. It brings a thrill ride, so everybody can experience it," Foxx said, smiling. "And it's good too! It ain't like that last joint I had."
Quickly, Foxx switched gears and brought thing back around to Baby Driver, telling fans, "Have your ass at the movie theater," when the high-octane crime dramedy comes out June 28.
While Foxx didn't specify which movie it was that he thought "sucked," the actor's last film was Sleepless -- a critically panned crime thriller that came out in January. Prior to that, Foxx hadn't appeared in any movies since 2014's remake of Annie.
By comparison, Sleepless currently has a 21 percent, which is a far cry from Baby Driver's so-far perfect score.
"It's good to have a good one. You know, it's hard when you're out there promoting and you know it stinks," he added. "I've had a couple of them where I just know it stinks."
Foxx recently spoke with ET about Baby Driver, where he also revealed that he once let Ed Sheeran crash on his couch when the "Shape of You" singer was still an unknown artist trying to make a name for himself. Check out the video below to hear more.