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

Commit 414fe52e authored by Ricky Wai's avatar Ricky Wai
Browse files

Change mounting storage data and obb to on by default

Bug: 151316657
Test: atest AdoptableHostTest
Test: pass cts/cts_postsubmit_cf_stable-cloud-tf
Change-Id: Ifbf604716c44018bdfe8e7abf74fe0bbf0eb9789
parent 5741b83f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1808,7 +1808,7 @@ class StorageManagerService extends IStorageManager.Stub
        // different
        // different
        mIsFuseEnabled = SystemProperties.getBoolean(PROP_FUSE, DEFAULT_FUSE_ENABLED);
        mIsFuseEnabled = SystemProperties.getBoolean(PROP_FUSE, DEFAULT_FUSE_ENABLED);
        mVoldAppDataIsolationEnabled = mIsFuseEnabled && SystemProperties.getBoolean(
        mVoldAppDataIsolationEnabled = mIsFuseEnabled && SystemProperties.getBoolean(
                ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false);
                ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
        mContext = context;
        mContext = context;
        mResolver = mContext.getContentResolver();
        mResolver = mContext.getContentResolver();
        mCallbacks = new Callbacks(FgThread.get().getLooper());
        mCallbacks = new Callbacks(FgThread.get().getLooper());
+1 −1
Original line number Original line Diff line number Diff line
@@ -721,7 +721,7 @@ public final class ProcessList {
                SystemProperties.getBoolean(ANDROID_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
                SystemProperties.getBoolean(ANDROID_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
        boolean fuseEnabled = SystemProperties.getBoolean(ANDROID_FUSE_ENABLED, false);
        boolean fuseEnabled = SystemProperties.getBoolean(ANDROID_FUSE_ENABLED, false);
        boolean voldAppDataIsolationEnabled = SystemProperties.getBoolean(
        boolean voldAppDataIsolationEnabled = SystemProperties.getBoolean(
                ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false);
                ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
        if (!fuseEnabled && voldAppDataIsolationEnabled) {
        if (!fuseEnabled && voldAppDataIsolationEnabled) {
            Slog.e(TAG, "Fuse is not enabled while vold app data isolation is enabled");
            Slog.e(TAG, "Fuse is not enabled while vold app data isolation is enabled");
        }
        }