Skip to content

Commit d776f61

Browse files
committed
Disable READ_EXTERNAL enforcement until API level cut.
Bug: 6389556 Change-Id: I78238b9de24c1b8ebb4fdc35d8aafd2e85a4adfe
1 parent 49c1d17 commit d776f61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/java/android/content/pm/PackageManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,8 @@ public NameNotFoundException(String name) {
10921092
= "android.content.pm.extra.VERIFICATION_INSTALL_FLAGS";
10931093

10941094
/** {@hide} */
1095-
public static final boolean DEFAULT_ENFORCE_READ_EXTERNAL_STORAGE = !"user".equals(Build.TYPE);
1095+
// TODO: enable this for userdebug and eng builds; see 6389556
1096+
public static final boolean DEFAULT_ENFORCE_READ_EXTERNAL_STORAGE = false;
10961097

10971098
/**
10981099
* Retrieve overall information about an application package that is

0 commit comments

Comments
 (0)