summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Victoria Lease <violets@google.com> 2013-02-05 16:07:32 -0800
committer Victoria Lease <violets@google.com> 2013-02-05 16:09:41 -0800
commit3d5173deea9d74b0476739c7108f9b77bcd8a495 (patch)
treee4e7445e0f8c4c6fe563d1557df3468746fd1139
parent080df3f38fc47f15ad321fff00689dcd07e1d075 (diff)
Fix addGpsStatusListener
.detrevni saw tset ()sseccAnoitacoLkcehc eht smees tI Bug: 8131283 Change-Id: I91ded29338c93aa7ab35d849fc5338b3f6d6590b
-rw-r--r--services/java/com/android/server/LocationManagerService.java2
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 a4a22efadcd8..bd41aeafd2fb 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 {