Google and Apple agreed on Wednesday to settle a class-action lawsuit brought by patients who claim their painkillers and other drugs made them less effective at treating their pain.

The companies said they had agreed to settle to avoid the risk of a class action and to help doctors and patients who had filed suits, according to a press release from the California Attorney General’s Office.

The settlement was reached after months of negotiations between the two companies.

The agreement is the largest in the history of the California Civil Liberties Union, which filed the lawsuit against Google in October.

It will bring to $10.2 billion the total compensation Google has already agreed to pay to the plaintiffs.

The California AG’s office had asked for $10 million in damages for pain patients, and $20 million for pain doctors.

In the settlement, Google said it will pay $4 million in the first quarter of 2018, and a separate $4.4 million settlement in the second quarter of 2019.

Apple agreed to $2.9 million in compensatory damages and $2 million in punitive damages.

The class action settlement includes more than 500,000 patients who bought generic versions of the painkiller acetaminophen, or Tylenol, or a generic version of Gout-ME, or gout, medicine.

The class-actions claim that their pain caused the onset of a range of other diseases and disabilities, including a loss of mobility, mental and physical impairment, and cognitive impairment.

The complaint alleged that TylEN, which is a generic product, is made by Pfizer and has “many of the same properties” as the patented Tyl-9 and Tylene-10 products that Google was suing.

According to the complaint, TylENE-10 is manufactured by Pfizers, which also makes other painkiller medicines.

In an emailed statement, Pfizer said that it believes it has been in compliance with all applicable laws and regulations in the United States, and that the company has fully cooperated with the investigation.

“The complaint does not allege or allege that Pfizer, or its affiliates, were responsible for any of the alleged harms alleged in the complaint.

The company is aware of the allegations and is cooperating fully with the authorities,” the statement said.