Merge "Fix LocationManager.getProvider() API breakage."
This commit is contained in:
committed by
Android (Google) Code Review
commit
a028a4b5e8
@@ -1341,7 +1341,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
|
||||
|
||||
private Bundle _getProviderInfoLocked(String provider) {
|
||||
LocationProviderInterface p = mProvidersByName.get(provider);
|
||||
if (p == null || !p.isEnabled()) {
|
||||
if (p == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user