diff options
Diffstat (limited to 'services/java/com/android/server/LocationManagerService.java')
-rw-r--r-- | services/java/com/android/server/LocationManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/LocationManagerService.java b/services/java/com/android/server/LocationManagerService.java index 62f996558bc1..c52966ac551a 100644 --- a/services/java/com/android/server/LocationManagerService.java +++ b/services/java/com/android/server/LocationManagerService.java @@ -1449,7 +1449,7 @@ public class LocationManagerService extends ILocationManager.Stub { final int uid = Binder.getCallingUid(); final long ident = Binder.clearCallingIdentity(); try { - if (checkLocationAccess(uid, packageName, allowedResolutionLevel)) { + if (!checkLocationAccess(uid, packageName, allowedResolutionLevel)) { return false; } } finally { |