Revert "Change mounting storage data and obb to on by default"
Revert submission 13469849-turn_on_iso-sc-dev Reason for revert: Failing existing CTS b/182843583 Reverted Changes: If819ee161:Change mounting storage data and obb to on by defa... I46a095448:Change mounting storage data and obb to on by defa... Change-Id: I7b33baebe150ab78551c7b4368320f056cdcbceb
This commit is contained in:
@@ -258,7 +258,7 @@ public final class Sm {
|
||||
|
||||
public void runDisableAppDataIsolation() throws RemoteException {
|
||||
if (!SystemProperties.getBoolean(
|
||||
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true)) {
|
||||
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false)) {
|
||||
throw new IllegalStateException("Storage app data isolation is not enabled.");
|
||||
}
|
||||
final String pkgName = nextArg();
|
||||
|
||||
@@ -826,7 +826,7 @@ static void MountEmulatedStorage(uid_t uid, jint mount_mode,
|
||||
PrepareDir(user_source, 0710, user_id ? AID_ROOT : AID_SHELL,
|
||||
multiuser_get_uid(user_id, AID_EVERYBODY), fail_fn);
|
||||
|
||||
bool isAppDataIsolationEnabled = GetBoolProperty(kVoldAppDataIsolation, true);
|
||||
bool isAppDataIsolationEnabled = GetBoolProperty(kVoldAppDataIsolation, false);
|
||||
|
||||
if (mount_mode == MOUNT_EXTERNAL_PASS_THROUGH) {
|
||||
const std::string pass_through_source = StringPrintf("/mnt/pass_through/%d", user_id);
|
||||
|
||||
@@ -1726,7 +1726,7 @@ class StorageManagerService extends IStorageManager.Stub
|
||||
public StorageManagerService(Context context) {
|
||||
sSelf = this;
|
||||
mVoldAppDataIsolationEnabled = SystemProperties.getBoolean(
|
||||
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
|
||||
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false);
|
||||
mContext = context;
|
||||
mResolver = mContext.getContentResolver();
|
||||
mCallbacks = new Callbacks(FgThread.get().getLooper());
|
||||
|
||||
@@ -754,7 +754,7 @@ public final class ProcessList {
|
||||
mAppDataIsolationEnabled =
|
||||
SystemProperties.getBoolean(ANDROID_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
|
||||
mVoldAppDataIsolationEnabled = SystemProperties.getBoolean(
|
||||
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, true);
|
||||
ANDROID_VOLD_APP_DATA_ISOLATION_ENABLED_PROPERTY, false);
|
||||
mAppDataIsolationAllowlistedApps = new ArrayList<>(
|
||||
SystemConfig.getInstance().getAppDataIsolationWhitelistedApps());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user