summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-07-29 08:58:54 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-29 08:58:54 -0700
commit7522cac555bd8010d6603cfe0ad831a6f1c1af4f (patch)
treefbac48918636253c45fee1fbfb051bb56435fb83 /services
parentba676a00c1b9ba59b30fe805b83d03d1768fffbd (diff)
parent8dc16c27e23dae5bdf65fd2a2ced97c2f645a633 (diff)
downloadframeworks_base-7522cac555bd8010d6603cfe0ad831a6f1c1af4f.zip
frameworks_base-7522cac555bd8010d6603cfe0ad831a6f1c1af4f.tar.gz
frameworks_base-7522cac555bd8010d6603cfe0ad831a6f1c1af4f.tar.bz2
am 8dc16c27: Fix typo in GPS mode logic.
Merge commit '8dc16c27e23dae5bdf65fd2a2ced97c2f645a633' into gingerbread-plus-aosp * commit '8dc16c27e23dae5bdf65fd2a2ced97c2f645a633': Fix typo in GPS mode logic.
Diffstat (limited to 'services')
-rwxr-xr-xservices/java/com/android/server/location/GpsLocationProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/location/GpsLocationProvider.java b/services/java/com/android/server/location/GpsLocationProvider.java
index 4b4c784..f8c9a61 100755
--- a/services/java/com/android/server/location/GpsLocationProvider.java
+++ b/services/java/com/android/server/location/GpsLocationProvider.java
@@ -892,7 +892,7 @@ public class GpsLocationProvider implements LocationProviderInterface {
Settings.Secure.ASSISTED_GPS_ENABLED, 1) != 0) {
if (singleShot && hasCapability(GPS_CAPABILITY_MSA)) {
mPositionMode = GPS_POSITION_MODE_MS_ASSISTED;
- } else if (hasCapability(GPS_CAPABILITY_MSA)) {
+ } else if (hasCapability(GPS_CAPABILITY_MSB)) {
mPositionMode = GPS_POSITION_MODE_MS_BASED;
}
}