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

Commit 05e4a5db authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix bug checking incorrect AppOp" into sc-qpr1-dev am: 886d034f am:...

Merge "Fix bug checking incorrect AppOp" into sc-qpr1-dev am: 886d034f am: 6c3520b4 am: 74fef036

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15994552

Change-Id: Ie99ce82a7a044937a8b007bd32ea1ecc0c2f40ff
parents e0602e9c 74fef036
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ public abstract class LocationPermissionsHelper {
            return false;
        }

        return mAppOps.checkOpNoThrow(permissionLevel, identity);
        return mAppOps.checkOpNoThrow(LocationPermissions.asAppOp(permissionLevel), identity);
    }

    protected abstract boolean hasPermission(String permission, CallerIdentity callerIdentity);