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

Commit 5133b620 authored by Tony Mak's avatar Tony Mak
Browse files

Disallow OobConfig being suspended

Change-Id: I79d8e6b8bb77878767a0572a567a10ff08c0b6b8
Fix: 29892597
parent f5093581
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11944,6 +11944,12 @@ public class PackageManagerService extends IPackageManager.Stub {
            return false;
        }
        if (mProtectedPackages.isPackageStateProtected(userId, packageName)) {
            Slog.w(TAG, "Cannot suspend/un-suspend package \"" + packageName
                    + "\": protected package");
            return false;
        }
        return true;
    }