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

Commit 9f5d675e authored by Ricky Wai's avatar Ricky Wai Committed by Android (Google) Code Review
Browse files

Merge "Do not throw exception if storage app data isolation is not enabled"

parents f32e93e2 9d084782
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -259,7 +259,8 @@ public final class Sm {
    public void runDisableAppDataIsolation() throws RemoteException {
        if (!SystemProperties.getBoolean(
                ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false)) {
            throw new IllegalStateException("Storage app data isolation is not enabled.");
            System.err.println("Storage app data isolation is not enabled.");
            return;
        }
        final String pkgName = nextArg();
        final int pid = Integer.parseInt(nextArg());