am 6ba7ae1e: LocationManagerService: Fix null pointer check in sendExtraCommand().
Merge commit '6ba7ae1e4c3c04f6a71380b913ad79f83b00a628' * commit '6ba7ae1e4c3c04f6a71380b913ad79f83b00a628': LocationManagerService: Fix null pointer check in sendExtraCommand().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user