diff options
author | Jason parks <jparks@google.com> | 2011-01-13 14:15:43 -0600 |
---|---|---|
committer | Jason parks <jparks@google.com> | 2011-01-13 14:15:43 -0600 |
commit | a3cdaa5337fa573c4c61770195d6232c2e587090 (patch) | |
tree | 99aa62f3acc658a587c2d8a3c33107cf92281dbb /core/java/android/content/pm/ApplicationInfo.java | |
parent | c15c7a79a69733bd21d6548fd74c2874fdabe7e8 (diff) | |
download | frameworks_base-a3cdaa5337fa573c4c61770195d6232c2e587090.zip frameworks_base-a3cdaa5337fa573c4c61770195d6232c2e587090.tar.gz frameworks_base-a3cdaa5337fa573c4c61770195d6232c2e587090.tar.bz2 |
Revert "Remove the APIs for the old encryption scheme."
This reverts commit 1125d780a8b61703b8eb28c5c77dac5f3f0022dd.
Diffstat (limited to 'core/java/android/content/pm/ApplicationInfo.java')
-rw-r--r-- | core/java/android/content/pm/ApplicationInfo.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/core/java/android/content/pm/ApplicationInfo.java b/core/java/android/content/pm/ApplicationInfo.java index 68840d9..bb0ed6a 100644 --- a/core/java/android/content/pm/ApplicationInfo.java +++ b/core/java/android/content/pm/ApplicationInfo.java @@ -270,6 +270,16 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { public static final int FLAG_SUPPORTS_XLARGE_SCREENS = 1<<19; /** + * 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, + * and will always store its data in-the-clear. + * + * {@hide} + */ + public static final int FLAG_NEVER_ENCRYPT = 1<<30; + + /** * Value for {@link #flags}: Set to true if the application has been * installed using the forward lock option. * @@ -459,7 +469,6 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { } - @Override public String toString() { return "ApplicationInfo{" + Integer.toHexString(System.identityHashCode(this)) @@ -470,7 +479,6 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { return 0; } - @Override public void writeToParcel(Parcel dest, int parcelableFlags) { super.writeToParcel(dest, parcelableFlags); dest.writeString(taskAffinity); |