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

Commit ca5362ce authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22674 into eclair

* changes:
  GpsLocationProvider: Default to AGPS on if the setting is missing.
parents 0de065e6 660bbfcc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -728,7 +728,7 @@ public class GpsLocationProvider extends ILocationProvider.Stub {
            mStarted = true;
            int positionMode;
            if (Settings.Secure.getInt(mContext.getContentResolver(),
                    Settings.Secure.ASSISTED_GPS_ENABLED, 0) != 0) {
                    Settings.Secure.ASSISTED_GPS_ENABLED, 1) != 0) {
                positionMode = GPS_POSITION_MODE_MS_BASED;
            } else {
                positionMode = GPS_POSITION_MODE_STANDALONE;