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

Commit c61fd954 authored by Hall Liu's avatar Hall Liu Committed by Automerger Merge Worker
Browse files

Merge "Fix order of uid/pid in LocationAccessPolicy" into rvc-dev am:...

Merge "Fix order of uid/pid in LocationAccessPolicy" into rvc-dev am: f6d37fc0 am: ed6c9bc9 am: 6aad8453

Change-Id: I6050a983b38a42dfd8e0d42c7acb6558836f6fba
parents 5b300fc5 6aad8453
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -311,7 +311,7 @@ public final class LocationAccessPolicy {
        }
        // If the user or profile is current, permission is granted.
        // Otherwise, uid must have INTERACT_ACROSS_USERS_FULL permission.
        return isCurrentProfile(context, uid) || checkInteractAcrossUsersFull(context, uid, pid);
        return isCurrentProfile(context, uid) || checkInteractAcrossUsersFull(context, pid, uid);
    }

    private static boolean isLocationModeEnabled(@NonNull Context context, @UserIdInt int userId) {