summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorAnthony Hugh <ahugh@google.com>2015-09-21 15:49:08 -0700
committerAnthony Hugh <ahugh@google.com>2015-09-23 14:44:43 -0700
commit4b7427563d334dab50eb77028a78e709ea58880b (patch)
treeeb510c96a9f793c4d7429b72437e379c06c0efb8 /AndroidManifest.xml
parentfb9be671c5293642b198c4ef06a94b33ff4ebc0b (diff)
downloadandroid_packages_apps_PackageInstaller-4b7427563d334dab50eb77028a78e709ea58880b.tar.gz
android_packages_apps_PackageInstaller-4b7427563d334dab50eb77028a78e709ea58880b.tar.bz2
android_packages_apps_PackageInstaller-4b7427563d334dab50eb77028a78e709ea58880b.zip
Add new dialog for warning confirmations
This change updates the Wear warning dialog for when users try to change permissions for system apps and apps that are targeting old SDKs. Because Wear does not have a common dialog yet, I needed to create a new activity to hold our confirmation view. Changes: - Update logic to show Wear confirmation screen instead of using AlertDialog - Added WarningConfirmationActivity - Change font size for confirmation dialog - Make ConfirmationViewHandler support hiding one of the 3 vertical buttons - rename grant_permissions.xml to more generic confirmation_dialog BUG: 24132857 Change-Id: Id225e663f0a2cd7b99fb177f780a6a3d0da15214
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 c6c0f304..3f1bb1d8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -121,6 +121,10 @@
android:authorities="com.google.android.packageinstaller.wear.provider"
android:grantUriPermissions="true"
android:exported="true" />
+
+ <activity android:name=".permission.ui.wear.WarningConfirmationActivity"
+ android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS"
+ android:theme="@style/Settings"/>
</application>
</manifest>