Add a normal permission guarding the installer UI - used for stats tracking
bug:2147009
Change-Id: Id020eaf7b852de43966f4ab8231e3f7046e66542
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 494b53a..7f398bd 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1387,6 +1387,11 @@
* <p>
* Output: If {@link #EXTRA_RETURN_RESULT}, returns whether the install
* succeeded.
+ * <p>
+ * <strong>Note:</strong>If your app is targeting API level higher than 22 you
+ * need to hold {@link android.Manifest.permission#REQUEST_INSTALL_PACKAGES}
+ * in order to launch the application installer.
+ * </p>
*
* @see #EXTRA_INSTALLER_PACKAGE_NAME
* @see #EXTRA_NOT_UNKNOWN_SOURCE