Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5a16863 authored by Chirayu Desai's avatar Chirayu Desai Committed by Michael Bestas
Browse files

GnssLocationProvider: Disable AGPS by default, it'll be enabled in SetupWizard

* This way the user can choose to turn it off, and it'll
  never have been enabled
* If they just keep it as the default (toggle will be on in SuW),
  then it'll be enabled, which is the default we want

Change-Id: I878200a0351d0b0018a975e432602de2badc4eef
parent 99b44994
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1104,7 +1104,7 @@ public class GnssLocationProvider extends AbstractLocationProvider implements

            boolean agpsEnabled =
                    (Settings.Global.getInt(mContext.getContentResolver(),
                            Settings.Global.ASSISTED_GPS_ENABLED, 1) != 0) || isEmergency;
                            Settings.Global.ASSISTED_GPS_ENABLED, 0) != 0) || isEmergency;
            mPositionMode = getSuplMode(agpsEnabled);

            if (DEBUG) {