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

Commit 886d034f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bug checking incorrect AppOp" into sc-qpr1-dev

parents 3376e545 5b26a98a
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);