diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-04-26 18:00:08 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-04-26 18:00:08 -0700 |
commit | 5a8f877cf87755e34deb84a888c8de3a342e8f13 (patch) | |
tree | faebb493837a91b50027c9c50e6e62ef3455fcb2 /core/java | |
parent | 863031983d3b4a0f31b9535123ec97dee55ac8cb (diff) | |
parent | 3202d380226043fa665df3c92252f791f8c52d55 (diff) | |
download | frameworks_base-5a8f877cf87755e34deb84a888c8de3a342e8f13.zip frameworks_base-5a8f877cf87755e34deb84a888c8de3a342e8f13.tar.gz frameworks_base-5a8f877cf87755e34deb84a888c8de3a342e8f13.tar.bz2 |
am 3202d380: Fix issue #2631417: Expose FLAG_EXTERNAL_STORAGE
Merge commit '3202d380226043fa665df3c92252f791f8c52d55' into froyo-plus-aosp
* commit '3202d380226043fa665df3c92252f791f8c52d55':
Fix issue #2631417: Expose FLAG_EXTERNAL_STORAGE
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/content/pm/ApplicationInfo.java | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/core/java/android/content/pm/ApplicationInfo.java b/core/java/android/content/pm/ApplicationInfo.java index 0a04e5b..29b9d4c 100644 --- a/core/java/android/content/pm/ApplicationInfo.java +++ b/core/java/android/content/pm/ApplicationInfo.java @@ -252,20 +252,22 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { public static final int FLAG_RESTORE_ANY_VERSION = 1<<17; /** - * Value for {@link #flags}: Set to true if the application has been - * installed using the forward lock option. - * - * {@hide} + * Value for {@link #flags}: Set to true if the application is + * currently installed on external/removable/unprotected storage. Such + * applications may not be available if their storage is not currently + * mounted. When the storage it is on is not available, it will look like + * the application has been uninstalled (its .apk is no longer available) + * but its persistent data is not removed. */ - public static final int FLAG_FORWARD_LOCK = 1<<19; + public static final int FLAG_EXTERNAL_STORAGE = 1<<19; /** - * Value for {@link #flags}: Set to true if the application is - * currently installed on the sdcard. + * Value for {@link #flags}: Set to true if the application has been + * installed using the forward lock option. * * {@hide} */ - public static final int FLAG_EXTERNAL_STORAGE = 1<<20; + public static final int FLAG_FORWARD_LOCK = 1<<20; /** * Value for {@link #flags}: Set to true if the application is |