Google really wanted to be the default search engine on your iPhone. The major tech company paid Apple $1 billion to have its search bar on your device. Plus, both companies agreed to share profits from the revenue, Mashable reports.

This tidbit of information was revealed in a Jan. 14 court hearing over a copyright lawsuit between Oracle and Google. Oracle claims the aforementioned used its Java software to develop their Android  phones but didn’t pay for it.

Both Apple and Google fought to keep the details of their agreement private, with Google calling the deal "highly sensitive." Still, the partnership was made public but it’s unknown how exactly the profits were split.