microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.29k stars 1.7k forks source link

Location: Avoid repeated pop-ups #2369

Closed DaVinci9196 closed 1 month ago

DaVinci9196 commented 4 months ago

When you start Google Maps for the first time, it will pop up a location information authorization pop-up window through requestLocationSettingsDialog. After clicking Allow only during the trial period, some models will cause repeated pop-ups. Some models will jump to the MG authorization page. After returning from the page, the ensurePermissions method in LocationManager will jump to the MG authorization page again.

mar-v-in commented 1 month ago

This is handled more cleanly in 8baf6948755948c9625a4d10ae2b45050033abfb