Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2f847e7 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

DO NOT MERGE Fix listenerId in GeofenceManager

Bug: 153257294
Test: atest AppOpsLoggingTest
Change-Id: I158dae57c1f67e6ec14e617fbf76c7b79fea0cab
parent 73a8e537
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ public class GeofenceManager implements LocationListener, PendingIntent.OnFinish
                int op = CallerIdentity.asAppOp(identity.permissionLevel);
                if (op >= 0) {
                    if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, identity.uid,
                            identity.packageName, identity.featureId, null)
                            identity.packageName, identity.featureId, identity.listenerId)
                            != AppOpsManager.MODE_ALLOWED) {
                        continue;
                    }