summaryrefslogtreecommitdiff
path: root/core/java/android/content/Intent.java
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2018-11-21 10:43:18 -0800
committerJoel Galenson <jgalenson@google.com>2018-11-21 15:25:17 -0800
commitad219787cc5b3fbcd3f4db16150bf4b369f640d5 (patch)
tree4cceb4f9942ecb6af1f6197b62d0e40a75489ba8 /core/java/android/content/Intent.java
parent588bdc6719523ed2fca73abcaae81233709c2895 (diff)
Add a new getPackageInfoAsUser as a SystemApi.
This is needed so the PermissionController can differentiate between multiple versions of the same app. Bug: 119811056 Test: Call API. Change-Id: I19150e1c8e5f204a846500cfe0021da742235213
Diffstat (limited to 'core/java/android/content/Intent.java')
-rw-r--r--core/java/android/content/Intent.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index e9b240448eed..ab271c9282de 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1767,6 +1767,9 @@ public class Intent implements Parcelable, Cloneable {
* that should be managed by the launched UI.
* </p>
* <p>
+ * <li> {@link #EXTRA_USER} specifies the UserHandle of the user that owns the app.
+ * </p>
+ * <p>
* Output: Nothing.
* </p>
*