Merge "DO NOT MERGE Fix listenerId in GeofenceManager" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
08bd8964e1
@@ -253,7 +253,7 @@ public class GeofenceManager implements LocationListener, PendingIntent.OnFinish
|
|||||||
int op = CallerIdentity.asAppOp(identity.permissionLevel);
|
int op = CallerIdentity.asAppOp(identity.permissionLevel);
|
||||||
if (op >= 0) {
|
if (op >= 0) {
|
||||||
if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, identity.uid,
|
if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, identity.uid,
|
||||||
identity.packageName, identity.featureId, null)
|
identity.packageName, identity.featureId, identity.listenerId)
|
||||||
!= AppOpsManager.MODE_ALLOWED) {
|
!= AppOpsManager.MODE_ALLOWED) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user