summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2019-03-25 10:05:24 -0700
committerJoel Galenson <jgalenson@google.com>2019-03-25 10:14:05 -0700
commit85e7e33c930e0abf0967fb32743e24a0055bdff4 (patch)
tree0eb7464a2008fc44708510bd49c317d1338e8f54 /AndroidManifest.xml
parent7cad62318fb8608d4d075c53a847ba2b59d8bfbf (diff)
downloadandroid_packages_apps_PackageInstaller-85e7e33c930e0abf0967fb32743e24a0055bdff4.tar.gz
android_packages_apps_PackageInstaller-85e7e33c930e0abf0967fb32743e24a0055bdff4.tar.bz2
android_packages_apps_PackageInstaller-85e7e33c930e0abf0967fb32743e24a0055bdff4.zip
Improve ongoing usage dialog.
Fix a bug where the permission icons were not vertically centered. Migrate the logic from the Activity to a Fragment to support TV. Fix an issue where if you opened the dialog, followed it to another screen, went to home, then re-opened the dialog, you would see the old screen under it. Test: Open dialog, click various options, re-open dialog. Change-Id: I2dd1d195d32f8eb141d52c54d14f677f3d0b62bf
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 793e4c52..d5544105 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -145,6 +145,7 @@
<activity android:name="com.android.packageinstaller.permission.ui.ReviewOngoingUsageActivity"
android:excludeFromRecents="true"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
+ android:launchMode="singleInstance"
android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS" >
<intent-filter android:priority="1">
<action android:name="android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE" />