diff options
author | Mike Lockwood <lockwood@android.com> | 2009-08-17 08:39:12 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-08-17 08:39:12 -0400 |
commit | 6ba7ae1e4c3c04f6a71380b913ad79f83b00a628 (patch) | |
tree | 9157688ebf55cb34d22df4405ffa1f615e1042dc /services | |
parent | 0ff7a463ad7fe6ca7b0ab3afcf566bfdc69a00f0 (diff) | |
download | frameworks_base-6ba7ae1e4c3c04f6a71380b913ad79f83b00a628.zip frameworks_base-6ba7ae1e4c3c04f6a71380b913ad79f83b00a628.tar.gz frameworks_base-6ba7ae1e4c3c04f6a71380b913ad79f83b00a628.tar.bz2 |
LocationManagerService: Fix null pointer check in sendExtraCommand().
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/LocationManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/LocationManagerService.java b/services/java/com/android/server/LocationManagerService.java index fab97b1..f8d0e42 100644 --- a/services/java/com/android/server/LocationManagerService.java +++ b/services/java/com/android/server/LocationManagerService.java @@ -1110,7 +1110,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run synchronized (mLock) { LocationProviderProxy proxy = mProvidersByName.get(provider); - if (provider == null) { + if (proxy == null) { return false; } |