am ca5362ce: Merge change 22674 into eclair
Merge commit 'ca5362cec4954366f8c1dc011bd14264c8381646' into eclair-plus-aosp * commit 'ca5362cec4954366f8c1dc011bd14264c8381646': GpsLocationProvider: Default to AGPS on if the setting is missing.
This commit is contained in:
@@ -728,7 +728,7 @@ public class GpsLocationProvider extends ILocationProvider.Stub {
|
|||||||
mStarted = true;
|
mStarted = true;
|
||||||
int positionMode;
|
int positionMode;
|
||||||
if (Settings.Secure.getInt(mContext.getContentResolver(),
|
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;
|
positionMode = GPS_POSITION_MODE_MS_BASED;
|
||||||
} else {
|
} else {
|
||||||
positionMode = GPS_POSITION_MODE_STANDALONE;
|
positionMode = GPS_POSITION_MODE_STANDALONE;
|
||||||
|
|||||||
Reference in New Issue
Block a user