diff options
author | Ben Gruver <bgruv@google.com> | 2012-09-27 13:02:06 -0700 |
---|---|---|
committer | Ben Gruver <bgruv@google.com> | 2012-09-27 13:02:06 -0700 |
commit | 37d83a3caf138e35fa1a355787d20c351f6b37a6 (patch) | |
tree | a4fe753ce045a1fc0eb7edc17641425981a6079f /core/java/android/content/Intent.java | |
parent | 0b1711582ff07d6d1e8e4de6c057eaf6a3473ac3 (diff) | |
download | frameworks_base-37d83a3caf138e35fa1a355787d20c351f6b37a6.zip frameworks_base-37d83a3caf138e35fa1a355787d20c351f6b37a6.tar.gz frameworks_base-37d83a3caf138e35fa1a355787d20c351f6b37a6.tar.bz2 |
Pass the originating uid to the package verifier
Bug: 6923241
Change-Id: I85a3e0d53b469543cb0551d3a440d2663b5d0697
Diffstat (limited to 'core/java/android/content/Intent.java')
-rw-r--r-- | core/java/android/content/Intent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index b9518b8..c301c5c 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1305,6 +1305,14 @@ public class Intent implements Parcelable, Cloneable { = "android.intent.extra.REFERRER"; /** + * Used as an int extra field with {@link #ACTION_INSTALL_PACKAGE} and + * {@link} #ACTION_VIEW} to indicate the uid of the package that initiated the install + * @hide + */ + public static final String EXTRA_ORIGINATING_UID + = "android.intent.extra.ORIGINATING_UID"; + + /** * Used as a boolean extra field with {@link #ACTION_INSTALL_PACKAGE} to install a * package. Tells the installer UI to skip the confirmation with the user * if the .apk is replacing an existing one. |