summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2019-02-05 09:28:02 -0800
committerJoel Galenson <jgalenson@google.com>2019-02-21 16:15:35 -0800
commit731b520823fa7d6f0a50617a8d5b66f788fe2a4e (patch)
tree7bbca14dc21d557d92b9cb16d364dd42ae51ee4d /AndroidManifest.xml
parent391094fa53d07d7192b32368ee62f9f3722c48b5 (diff)
downloadandroid_packages_apps_PackageInstaller-731b520823fa7d6f0a50617a8d5b66f788fe2a4e.tar.gz
android_packages_apps_PackageInstaller-731b520823fa7d6f0a50617a8d5b66f788fe2a4e.tar.bz2
android_packages_apps_PackageInstaller-731b520823fa7d6f0a50617a8d5b66f788fe2a4e.zip
Show dialog when trying to change location provider permission.
GMS Core is the location provider on the device and so the permission cannot be disabled. Instead of having clicks on it go to a disabled tri-state screen, restore the P behavior of popping up a dialog that can redirect users to the Location setting. Fixes: 123902223 Test: Click on GMS Core location on four different screens and get this dialog. Test: Click on other permissions and get the normal tri-state. Change-Id: Ic4ec22dea46405d4800010dec437822965f351ec
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6d401305..4d22a50b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -133,6 +133,10 @@
android:excludeFromRecents="true"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" />
+ <activity android:name="com.android.packageinstaller.permission.ui.LocationProviderInterceptDialog"
+ android:excludeFromRecents="true"
+ android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" />
+
<activity android:name="com.android.packageinstaller.permission.ui.ReviewAccessibilityServicesActivity"
android:excludeFromRecents="true"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" >