Loading services/java/com/android/server/LocationManagerService.java +5 −0 Original line number Diff line number Diff line Loading @@ -1100,6 +1100,11 @@ public class LocationManagerService extends ILocationManager.Stub implements Run } public boolean sendExtraCommand(String provider, String command, Bundle extras) { if (provider == null) { // throw NullPointerException to remain compatible with previous implementation throw new NullPointerException(); } // first check for permission to the provider checkPermissionsSafe(provider); // and check for ACCESS_LOCATION_EXTRA_COMMANDS Loading Loading
services/java/com/android/server/LocationManagerService.java +5 −0 Original line number Diff line number Diff line Loading @@ -1100,6 +1100,11 @@ public class LocationManagerService extends ILocationManager.Stub implements Run } public boolean sendExtraCommand(String provider, String command, Bundle extras) { if (provider == null) { // throw NullPointerException to remain compatible with previous implementation throw new NullPointerException(); } // first check for permission to the provider checkPermissionsSafe(provider); // and check for ACCESS_LOCATION_EXTRA_COMMANDS Loading