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

Commit dbf08d95 authored by Mark Renouf's avatar Mark Renouf Committed by Automerger Merge Worker
Browse files

Merge "Fix permission check for unbundled sharesheet" into tm-qpr-dev am: a01881b6

parents 0a0337a4 a01881b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1641,7 +1641,7 @@ public class ShortcutService extends IShortcutService.Stub {
            return false;
        }
        int uid = injectGetPackageUid(systemChooser.getPackageName(), UserHandle.USER_SYSTEM);
        return uid == callingUid;
        return UserHandle.getAppId(uid) == UserHandle.getAppId(callingUid);
    }

    private void enforceSystemOrShell() {