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
This commit is contained in:
Ricky Wai
2020-04-20 12:27:13 +01:00
parent 5741b83f07
commit 414fe52ed9
2 changed files with 2 additions and 2 deletions

View File

@@ -1808,7 +1808,7 @@ class StorageManagerService extends IStorageManager.Stub
// different
mIsFuseEnabled = SystemProperties.getBoolean(PROP_FUSE, DEFAULT_FUSE_ENABLED);
mVoldAppDataIsolationEnabled = mIsFuseEnabled && SystemProperties.getBoolean(
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false);
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
mContext = context;
mResolver = mContext.getContentResolver();
mCallbacks = new Callbacks(FgThread.get().getLooper());

View File

@@ -721,7 +721,7 @@ public final class ProcessList {
SystemProperties.getBoolean(ANDROID_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
boolean fuseEnabled = SystemProperties.getBoolean(ANDROID_FUSE_ENABLED, false);
boolean voldAppDataIsolationEnabled = SystemProperties.getBoolean(
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false);
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
if (!fuseEnabled && voldAppDataIsolationEnabled) {
Slog.e(TAG, "Fuse is not enabled while vold app data isolation is enabled");
}