summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2017-01-11 14:54:35 -0800
committerChad Brubaker <cbrubaker@google.com>2017-01-11 14:54:35 -0800
commita4ed11ce5eda68d125acea3168f1e35fb53c57ff (patch)
tree8436fbc3acb4b5d4e5c7ff7559ba1cba03511049
parent93cd22502714b0e9d056afa2896926ea05015c24 (diff)
downloadandroid_packages_apps_PackageInstaller-a4ed11ce5eda68d125acea3168f1e35fb53c57ff.tar.gz
android_packages_apps_PackageInstaller-a4ed11ce5eda68d125acea3168f1e35fb53c57ff.tar.bz2
android_packages_apps_PackageInstaller-a4ed11ce5eda68d125acea3168f1e35fb53c57ff.zip
Expose GrantPermissionsActivity to ephemeral apps
Test: Verified requesting a permission from an ephemeral app works Change-Id: I1a30f33f7053a2eaa787a27fcd713b40a886bb36
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f0173cee..eaf36e35 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -122,7 +122,8 @@
<activity android:name=".permission.ui.GrantPermissionsActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:excludeFromRecents="true"
- android:theme="@style/GrantPermissions">
+ android:theme="@style/GrantPermissions"
+ android:visibleToEphemeral="true">
<intent-filter android:priority="1">
<action android:name="android.content.pm.action.REQUEST_PERMISSIONS" />
<category android:name="android.intent.category.DEFAULT" />