LocationManagerService: Fix null pointer check in sendExtraCommand().

Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood
2009-08-17 08:39:12 -04:00
parent 0ff7a463ad
commit 6ba7ae1e4c

View File

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