summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorVinod Krishnan <vinodkrishnan@google.com>2015-09-28 13:29:25 -0700
committerVinod Krishnan <vinodkrishnan@google.com>2015-09-28 15:19:33 -0700
commiteb9a1b659375d01d4276db622358dafb68b9d4fc (patch)
tree1880b9a1aac701576ddb75a627ffce446a8869ec /res
parentc965cb21917b2dffec7ee5bb47ffa080cb482c1a (diff)
downloadandroid_packages_apps_PackageInstaller-eb9a1b659375d01d4276db622358dafb68b9d4fc.tar.gz
android_packages_apps_PackageInstaller-eb9a1b659375d01d4276db622358dafb68b9d4fc.tar.bz2
android_packages_apps_PackageInstaller-eb9a1b659375d01d4276db622358dafb68b9d4fc.zip
Block Install Intent for Wear devices
- We did not support this feature on Android Wear before - The impact is unknown. For example, the Setting for UNKNOWN_SOURCES is not implemented in Android Wear Settings App. Bug: 24336381 Change-Id: I0fb4006d4769291c872e8f21407383a7c4a77b93
Diffstat (limited to 'res')
-rw-r--r--res/values-watch/styles.xml2
-rw-r--r--res/values/strings.xml5
2 files changed, 7 insertions, 0 deletions
diff --git a/res/values-watch/styles.xml b/res/values-watch/styles.xml
index dc2be042..01ab90eb 100644
--- a/res/values-watch/styles.xml
+++ b/res/values-watch/styles.xml
@@ -15,6 +15,8 @@
-->
<resources>
+ <style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.NoActionBar"/>
+
<!-- START: Ported values -->
<style name="TextAppearance.Wearable.Small" parent="android:TextAppearance.Medium">
<item name="android:textSize">16sp</item>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d79ba63d..0f1a73f2 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -274,4 +274,9 @@
before permissions can be changed. [CHAR LIMIT=NONE] -->
<string name="screen_overlay_button">Open settings</string>
+ <!-- Title of dialog telling users that Install/Uninstall action is not supported on Android Wear. -->
+ <string name="wear_not_allowed_dlg_title">Android Wear</string>
+ <!-- Title of dialog telling users that Install/Uninstall action is not supported on Android Wear. -->
+ <string name="wear_not_allowed_dlg_text">Instal/Uninstall actions not supported on Wear.</string>
+
</resources>