diff options
author | Victoria Lease <violets@google.com> | 2013-02-06 17:01:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-02-06 17:01:56 +0000 |
commit | 91641ec5538aa3b9872f24c43f811bffbcd12368 (patch) | |
tree | c49a0f1ddd73f2727f8b88eeb9e4d456e4738ed6 /services/java/com/android/server/LocationManagerService.java | |
parent | 23e500d168e8d649305445f6c1d2b49d8d2c00fd (diff) | |
parent | 3d5173deea9d74b0476739c7108f9b77bcd8a495 (diff) |
Merge "Fix addGpsStatusListener"
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 { |