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

Commit 74eb2835 authored by Mårten Kongstad's avatar Mårten Kongstad Committed by android-build-merger
Browse files

Merge "OMS: fix typos in permission check message" am: 57e5e683

am: ffb4fe71

Change-Id: I95cbf838a85fb41c886570b9afe8f16947d49b43
parents 50bec961 ffb4fe71
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -558,8 +558,8 @@ public final class OverlayManagerService extends SystemService {
        @Override
        public boolean setEnabledExclusive(@Nullable final String packageName, final boolean enable,
                int userId) throws RemoteException {
            enforceChangeOverlayPackagesPermission("setEnabled");
            userId = handleIncomingUser(userId, "setEnabled");
            enforceChangeOverlayPackagesPermission("setEnabledExclusive");
            userId = handleIncomingUser(userId, "setEnabledExclusive");
            if (packageName == null || !enable) {
                return false;
            }
@@ -578,8 +578,8 @@ public final class OverlayManagerService extends SystemService {
        @Override
        public boolean setEnabledExclusiveInCategory(@Nullable String packageName, int userId)
                throws RemoteException {
            enforceChangeOverlayPackagesPermission("setEnabled");
            userId = handleIncomingUser(userId, "setEnabled");
            enforceChangeOverlayPackagesPermission("setEnabledExclusiveInCategory");
            userId = handleIncomingUser(userId, "setEnabledExclusiveInCategory");
            if (packageName == null) {
                return false;
            }