summaryrefslogtreecommitdiffstats
path: root/libs/androidfw
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-04-03 16:37:27 -0400
committerJohn Spurlock <jspurlock@google.com>2014-04-04 15:21:53 -0400
commit6c191299a73388cd593809c0b66bafbd08fd2982 (patch)
tree86466cc5d46bb13d87ae71c906349957edd3a7fb /libs/androidfw
parent8db6d9af58b9b81dbd764acd3f6a379afb539bf6 (diff)
downloadframeworks_base-6c191299a73388cd593809c0b66bafbd08fd2982.zip
frameworks_base-6c191299a73388cd593809c0b66bafbd08fd2982.tar.gz
frameworks_base-6c191299a73388cd593809c0b66bafbd08fd2982.tar.bz2
Introduce new UI_MODE_TYPE_WATCH and qualifier.
Default ui mode to watch if we have FEATURE_WATCH. Bug:13395758 Change-Id: Ie5ff95de60e69e91ad3612c7d2f1fca7f49061bd
Diffstat (limited to 'libs/androidfw')
-rw-r--r--libs/androidfw/ResourceTypes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/androidfw/ResourceTypes.cpp b/libs/androidfw/ResourceTypes.cpp
index 1cc3563..990cf9e 100644
--- a/libs/androidfw/ResourceTypes.cpp
+++ b/libs/androidfw/ResourceTypes.cpp
@@ -2293,6 +2293,9 @@ String8 ResTable_config::toString() const {
case ResTable_config::UI_MODE_TYPE_APPLIANCE:
res.append("appliance");
break;
+ case ResTable_config::UI_MODE_TYPE_WATCH:
+ res.append("watch");
+ break;
default:
res.appendFormat("uiModeType=%d",
dtohs(screenLayout&ResTable_config::MASK_UI_MODE_TYPE));