Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de5c3a04 authored by Laurent Tu's avatar Laurent Tu Committed by Android (Google) Code Review
Browse files

Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev

parents 645b05a6 b7f9d254
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1340,6 +1340,10 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
     */
    @Override
    public ProviderProperties getProviderProperties(String provider) {
        if (mProvidersByName.get(provider) == null) {
          return null;
        }

        checkPermissionForProvider(getBestCallingPermission(), provider);

        LocationProviderInterface p;