Remove a TODO as no work needs to be done

Bug: 150672994
Test: builds
Change-Id: I90fcbfb8d52e6883c12c7a76765767eaed370afe
This commit is contained in:
Abhijeet Kaur
2020-03-26 15:54:01 +00:00
parent 80849883c6
commit fd83d9dbb7

View File

@@ -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);