summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2017-01-10 21:53:34 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-01-10 21:53:34 +0000
commit494808ab11ebe98dcf77835a1f646faa9d352933 (patch)
treedc7f34a8fdb81ae8a7ff7122a44a21cee6855a2f
parent964f9f176e88dbfc22401396bef5e25ea28b0515 (diff)
parent540a404bd489d65feca8dbd85216891300e0fcfc (diff)
downloadandroid_packages_apps_PackageInstaller-494808ab11ebe98dcf77835a1f646faa9d352933.tar.gz
android_packages_apps_PackageInstaller-494808ab11ebe98dcf77835a1f646faa9d352933.tar.bz2
android_packages_apps_PackageInstaller-494808ab11ebe98dcf77835a1f646faa9d352933.zip
Prioritize package installer intent filter
am: 540a404bd4 Change-Id: I34da802f33372e9a8caa01ce70389d6851845881
-rw-r--r--AndroidManifest.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 39e9f3c7..369a18fe 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -35,7 +35,7 @@
<activity android:name=".PackageInstallerActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:excludeFromRecents="true">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.INSTALL_PACKAGE" />
<category android:name="android.intent.category.DEFAULT" />
@@ -43,14 +43,14 @@
<data android:scheme="content" />
<data android:mimeType="application/vnd.android.package-archive" />
</intent-filter>
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.intent.action.INSTALL_PACKAGE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:scheme="package" />
<data android:scheme="content" />
</intent-filter>
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.content.pm.action.CONFIRM_PERMISSIONS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
@@ -80,7 +80,7 @@
android:configChanges="orientation|keyboardHidden|screenSize"
android:excludeFromRecents="true"
android:theme="@style/GrantPermissions">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.content.pm.action.REQUEST_PERMISSIONS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
@@ -92,7 +92,7 @@
android:label="@string/app_permissions"
android:theme="@style/Settings"
android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.intent.action.MANAGE_PERMISSIONS" />
<action android:name="android.intent.action.MANAGE_APP_PERMISSIONS" />
<action android:name="android.intent.action.MANAGE_PERMISSION_APPS" />
@@ -104,7 +104,7 @@
android:excludeFromRecents="true"
android:theme="@style/Settings.NoActionBar"
android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.intent.action.REVIEW_PERMISSIONS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
@@ -116,7 +116,7 @@
<receiver android:name=".permission.model.PermissionStatusReceiver"
android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.intent.action.GET_PERMISSIONS_COUNT" />
<action android:name="android.intent.action.GET_PERMISSIONS_PACKAGES" />
</intent-filter>
@@ -129,7 +129,7 @@
<service android:name=".permission.service.RuntimePermissionPresenterServiceImpl"
android:permission="android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.permissionpresenterservice.RuntimePermissionPresenterService"/>
</intent-filter>
</service>