diff options
author | Mike Lockwood <lockwood@android.com> | 2010-07-29 11:39:55 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-07-29 11:39:55 -0400 |
commit | 8dc16c27e23dae5bdf65fd2a2ced97c2f645a633 (patch) | |
tree | f13d07246db7fbaaf63550c9dd570da5677c62a0 /services | |
parent | a54d7d3d7dd691334189aab20d23c65710092869 (diff) | |
download | frameworks_base-8dc16c27e23dae5bdf65fd2a2ced97c2f645a633.zip frameworks_base-8dc16c27e23dae5bdf65fd2a2ced97c2f645a633.tar.gz frameworks_base-8dc16c27e23dae5bdf65fd2a2ced97c2f645a633.tar.bz2 |
Fix typo in GPS mode logic.
MS-Assisted support should not be required for using MS-Based mode.
Change-Id: Ia6ee219674de3e9cc13190b753f8776305a4fa90
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'services')
-rwxr-xr-x | services/java/com/android/server/location/GpsLocationProvider.java | 2 |
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; } } |