SYDNEY, Australia — Australian regulators on Tuesday accused Google of misleading consumers about its collection of their personal location information through its Android mobile operating system, the latest government action against a tech company over its handling of vast quantities of user data.

The Australian Competition and Consumer Commission alleged in a lawsuit that Google falsely led users to believe that disabling the “Location History” setting on Android phones would stop the company from collecting their location data. But users were actually required to also turn off a second setting, “Web and App Activity,” that was enabled by default.

Google did not properly disclose the need to disable both settings from January 2017 until late 2018, the suit alleges. The company changed its user guidance after The Associated Press revealed in August 2018 that it was continuing to collect the data even after the Location History setting was switched off.

The commission also said that while Google made it clear to users what features they would lose by turning off location services, the company did not inform them adequately about what it would do with the data collected.