summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorNikolas Bravo <ngbravo@google.com>2017-11-07 21:07:15 +0000
committerNikolas Bravo <ngbravo@google.com>2017-11-07 21:11:40 +0000
commit6283100a87b7be5fb1aad9a258ebba9faf74b061 (patch)
treeed5a29e7ebba88bc47025c4cc7d525735bc0c7ff /core/java/android
parent94dffbcbfd5779b7904b3b396218a261bf640973 (diff)
Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUid(int)
* Current "See also" link in https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams.html#setOriginatingUid(int) is not only wrong, but also broken * Added a missing "the" Test: none Change-Id: I90410ed3393b5c37afdf0476eb70821fae9f63fd
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/pm/PackageInstaller.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/pm/PackageInstaller.java b/core/java/android/content/pm/PackageInstaller.java
index f4fdcaa44836..5673361420cc 100644
--- a/core/java/android/content/pm/PackageInstaller.java
+++ b/core/java/android/content/pm/PackageInstaller.java
@@ -1184,10 +1184,10 @@ public class PackageInstaller {
}
/**
- * Sets the UID that initiated package installation. This is informational
+ * Sets the UID that initiated the package installation. This is informational
* and may be used as a signal for anti-malware purposes.
*
- * @see PackageManager#EXTRA_VERIFICATION_INSTALLER_UID
+ * @see Intent#EXTRA_ORIGINATING_UID
*/
public void setOriginatingUid(int originatingUid) {
this.originatingUid = originatingUid;