am f441a650: am ca5362ce: Merge change 22674 into eclair

Merge commit 'f441a6505aa23aac496be45d053fa2a7e7c2adfa'

* commit 'f441a6505aa23aac496be45d053fa2a7e7c2adfa':
  GpsLocationProvider: Default to AGPS on if the setting is missing.
This commit is contained in:
Mike Lockwood
2009-08-25 16:09:06 -07:00
committed by Android Git Automerger

View File

@@ -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;