diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-08-26 14:18:37 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-08-26 14:41:58 -0700 |
commit | 02486b1327e3007c62d253dd89ba9db1852b87f8 (patch) | |
tree | ddf8f10dcf945aec5bbefbf0d13b936582b42de0 /core/java/android/content/pm/ApplicationInfo.java | |
parent | bc5d9d2254ee751ff50fb91d4560098ab5edf01f (diff) | |
download | frameworks_base-02486b1327e3007c62d253dd89ba9db1852b87f8.zip frameworks_base-02486b1327e3007c62d253dd89ba9db1852b87f8.tar.gz frameworks_base-02486b1327e3007c62d253dd89ba9db1852b87f8.tar.bz2 |
Hide heavy-weight API.
And give it a better name, for when it is later un-hidden.
Change-Id: Iae0d3054d44f873b9f953bc41d175a47802a185e
Diffstat (limited to 'core/java/android/content/pm/ApplicationInfo.java')
-rw-r--r-- | core/java/android/content/pm/ApplicationInfo.java | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/core/java/android/content/pm/ApplicationInfo.java b/core/java/android/content/pm/ApplicationInfo.java index 244d126..c812f36 100644 --- a/core/java/android/content/pm/ApplicationInfo.java +++ b/core/java/android/content/pm/ApplicationInfo.java @@ -273,17 +273,6 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { public static final int FLAG_SUPPORTS_XLARGE_SCREENS = 1<<19; /** - * Value for {@link #flags}: set to <code>true</code> if the application - * has reported that it is heavy-weight, and thus can not participate in - * the normal application lifecycle. - * - * <p>Comes from the - * {@link android.R.styleable#AndroidManifestApplication_heavyWeight android:heavyWeight} - * attribute of the <application> tag. - */ - public static final int FLAG_HEAVY_WEIGHT = 1<<20; - - /** * Value for {@link #flags}: this is true if the application has set * its android:neverEncrypt to true, false otherwise. It is used to specify * that this package specifically "opts-out" of a secured file system solution, @@ -310,6 +299,19 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { public static final int FLAG_NATIVE_DEBUGGABLE = 1<<28; /** + * Value for {@link #flags}: set to <code>true</code> if the application + * has reported that it is heavy-weight, and thus can not participate in + * the normal application lifecycle. + * + * <p>Comes from the + * {@link android.R.styleable#AndroidManifestApplication_heavyWeight android:heavyWeight} + * attribute of the <application> tag. + * + * {@hide} + */ + public static final int CANT_SAVE_STATE = 1<<27; + + /** * Flags associated with the application. Any combination of * {@link #FLAG_SYSTEM}, {@link #FLAG_DEBUGGABLE}, {@link #FLAG_HAS_CODE}, * {@link #FLAG_PERSISTENT}, {@link #FLAG_FACTORY_TEST}, and |