WASHINGTON — The Supreme Court on Friday agreed to decide whether Google should have to pay Oracle billions of dollars in a long-running copyright infringement lawsuit over software used to run many of the world’s smartphones.

In a brief urging the Supreme Court to hear its appeal, Google called the dispute “the copyright case of the decade.”

Oracle asked for $9 billion in damages over what it said was Google’s wrongful copying of about 11,000 lines of software code in Android, its mobile phone operating system.

In 2016, a San Francisco jury found that Google had not violated copyright laws because it had made “fair use” of the code. But last year a specialized appeals court in Washington, the United States Court of Appeals for the Federal Circuit, disagreed with that assessment and sent the case back for a trial to determine how much Google must pay in damages.