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

Commit 016c8372 authored by Pulkit Sachdeva's avatar Pulkit Sachdeva
Browse files

Revert "Change mounting storage data and obb to on by default"

Revert "Change mounting storage data and obb to on by default"

Revert submission 13255890-enable_storage_data_iso

Reason for revert: This change broke the CtsDownloadManagerInstaller test (https://screenshot.googleplex.com/ALNBECjxF38S76m.png)


Reverted Changes:
I2d6b690f5:Change mounting storage data and obb to on by defa...
I44b343082:Change mounting storage data and obb to on by defa...

Change-Id: Id577ae461c066b9b30b8c10721019f6731103879
parent b6c23ac8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -843,7 +843,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);
+1 −1
Original line number Diff line number Diff line
@@ -1716,7 +1716,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());
+1 −1
Original line number Diff line number Diff line
@@ -711,7 +711,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);
        mAppDataIsolationWhitelistedApps = new ArrayList<>(
                SystemConfig.getInstance().getAppDataIsolationWhitelistedApps());