Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210 Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
This commit is contained in:
@@ -237,7 +237,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
|
||||
*
|
||||
* {@hide}
|
||||
*/
|
||||
public static final int FLAG_ON_SDCARD = 1<<20;
|
||||
public static final int FLAG_EXTERNAL_STORAGE = 1<<20;
|
||||
|
||||
/**
|
||||
* Value for {@link #flags}: Set to true if the application is
|
||||
|
||||
@@ -1503,7 +1503,7 @@ public class PackageParser {
|
||||
}
|
||||
|
||||
if ((flags & PARSE_ON_SDCARD) != 0) {
|
||||
ai.flags |= ApplicationInfo.FLAG_ON_SDCARD;
|
||||
ai.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE;
|
||||
}
|
||||
|
||||
if (sa.getBoolean(
|
||||
|
||||
Reference in New Issue
Block a user