Add a normal permission guarding the installer UI - used for stats tracking
bug:2147009
Change-Id: Id020eaf7b852de43966f4ab8231e3f7046e66542
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 595f9f0..ed41b29 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1475,7 +1475,6 @@
android:label="@string/permlab_readSyncStats"
android:protectionLevel="normal" />
-
<!-- ============================================ -->
<!-- Permissions for low-level system interaction -->
<!-- ============================================ -->
@@ -1933,6 +1932,14 @@
<permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
android:protectionLevel="signature" />
+ <!-- Allows an application to request installing packages. Apps
+ targeting APIs greater than 22 must hold this permission in
+ order to use {@link android.content.Intent#ACTION_INSTALL_PACKAGE}.-->
+ <permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
+ android:label="@string/permlab_requestInstallPackages"
+ android:description="@string/permdesc_requestInstallPackages"
+ android:protectionLevel="normal" />
+
<!-- @SystemApi Allows an application to install packages.
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.INSTALL_PACKAGES"