summaryrefslogtreecommitdiffstats
path: root/res
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 /res
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 'res')
-rw-r--r--res/layout-watch/confirmation_dialog.xml (renamed from res/layout-watch/grant_permissions.xml)0
-rw-r--r--res/values-watch/themes.xml2
2 files changed, 1 insertions, 1 deletions
diff --git a/res/layout-watch/grant_permissions.xml b/res/layout-watch/confirmation_dialog.xml
index 2eedae35..2eedae35 100644
--- a/res/layout-watch/grant_permissions.xml
+++ b/res/layout-watch/confirmation_dialog.xml
diff --git a/res/values-watch/themes.xml b/res/values-watch/themes.xml
index e20e35c2..882557e6 100644
--- a/res/values-watch/themes.xml
+++ b/res/values-watch/themes.xml
@@ -35,7 +35,7 @@
<style name="GrantPermissions.TitleText">
<item name="android:fontFamily">sans-serif-condensed-light</item>
- <item name="android:textSize">20sp</item>
+ <item name="android:textSize">18sp</item>
<item name="android:textColor">@color/grant_permissions_title_color</item>
<item name="android:lineSpacingMultiplier">1.221</item>
</style>