“We are pleased to announce that Microsoft and @PlayStation have signed a binding agreement to keep Call of Duty on PlayStation following the acquisition of Activision Blizzard. We look forward to a future where players globally have more choice to play their favorite games.”

https://twitter.com/XboxP3/status/1680578783718383616

No word on how long the deal is for, but my guess would be 10 years.