Thanks to a lawyer, we know now that Google has made $31 billion in revenue and $22 billion in profit from its Android operating system. According to Bloomberg, a lawyer for Oracle disclosed the numbers — which Google says were confidential and shouldn't have been revealed publicly — during court last week in the ongoing lawsuit between the two companies.

Google asked the judge to redact and seal the transcript due to Oracle's attorney disclosing information from documents that Google says were for an "attorney's eyes only," and noted that it does not break out earnings for Android. "Google does not publicly allocate revenues or profits to Android separate and apart from Google’s general business," Google's lawyers wrote in the filing. "That non-public financial data is highly sensitive, and public disclosure could have significant negative effects on Google’s business."

"Public disclosure could have significant negative effects on Google’s business."

Oracle did not speak on the methods it used to obtain the figures it attached to Android. But if the $31 billion total is correct, Google has earned less money from Android throughout its existence than Apple earned from iPhone sales in fourth quarter of 2015, when it brought in $32.2 billion in revenue.

Oracle's lawsuit, which was filed in 2010, accuses Google of using a modified version of Java — which is owned by Oracle — to develop Android without compensation. Google won an early ruling, but additional appeals overturned the decision and ruled in favor of Oracle. Last year the Supreme Court declined to hear Google's latest appeal, leaving the ruling in Oracle's favor in tact. Now the arguments surround how much Oracle will receive in damages from Google, and whether the creator of Android will have to pay out in excess of $1 billion.