Loading services/java/com/android/server/LocationManagerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -906,7 +906,8 @@ public class LocationManagerService extends ILocationManager.Stub { return false; } if(mContext.checkCallingPermission(ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { if (mContext.checkCallingPermission(ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { throw new SecurityException("Requires ACCESS_FINE_LOCATION permission"); } Loading Loading
services/java/com/android/server/LocationManagerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -906,7 +906,8 @@ public class LocationManagerService extends ILocationManager.Stub { return false; } if(mContext.checkCallingPermission(ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { if (mContext.checkCallingPermission(ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { throw new SecurityException("Requires ACCESS_FINE_LOCATION permission"); } Loading