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

Commit ca6a0f99 authored by Abhijeet Kaur's avatar Abhijeet Kaur Committed by Automerger Merge Worker
Browse files

Merge "Remove a TODO as no work needs to be done" into rvc-dev am: a32954ec

Change-Id: Ie400d4c4587a0266d80131481a3e8161d178ae98
parents 110885d6 a32954ec
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1268,6 +1268,7 @@ public class Environment {
    public static boolean isExternalStorageLegacy(@NonNull File path) {
        final Context context = AppGlobals.getInitialApplication();
        final int uid = context.getApplicationInfo().uid;
        // Isolated processes and Instant apps are never allowed to be in scoped storage
        if (Process.isIsolated(uid)) {
            return false;
        }
@@ -1277,8 +1278,6 @@ public class Environment {
            return false;
        }

        // TODO(b/150672994): Compat flags do not override instant app and isolated process's
        //  behavior.
        boolean defaultScopedStorage = Compatibility.isChangeEnabled(DEFAULT_SCOPED_STORAGE);
        boolean forceEnableScopedStorage = Compatibility.isChangeEnabled(
                FORCE_ENABLE_SCOPED_STORAGE);