summaryrefslogtreecommitdiffstats
path: root/data/etc
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-06-13 19:33:22 -0700
committerDianne Hackborn <hackbod@google.com>2011-06-14 11:23:52 -0700
commite289bff0ec2b1af4ba773e0c8d49d5fd46eb9921 (patch)
tree4103ae9dc1838be1f61c0562fadbff9039949b50 /data/etc
parentfd63814abe8e81d5e1e0eb75b5a5a18034e9b4c6 (diff)
downloadframeworks_base-e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921.zip
frameworks_base-e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921.tar.gz
frameworks_base-e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921.tar.bz2
Add new landscape and portrait orientation features.
Updates aapt to know about these. Also updates aapt badging to: - No longer crash due to the change to how we match unspecified configuration resources. - Report the new "smallest screen" supported screen configs. - Infer old screen size buckets based on new smallest width attrs. - Report all of the different labels and icons in an app. Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8
Diffstat (limited to 'data/etc')
-rw-r--r--data/etc/handheld_core_hardware.xml2
-rw-r--r--data/etc/tablet_core_hardware.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/data/etc/handheld_core_hardware.xml b/data/etc/handheld_core_hardware.xml
index 7f87b79..9d2a0cb 100644
--- a/data/etc/handheld_core_hardware.xml
+++ b/data/etc/handheld_core_hardware.xml
@@ -31,6 +31,8 @@
<feature name="android.hardware.bluetooth" />
<feature name="android.hardware.touchscreen" />
<feature name="android.hardware.microphone" />
+ <feature name="android.hardware.screen.portrait" />
+ <feature name="android.hardware.screen.landscape" />
<!-- devices with GPS must include android.hardware.location.gps.xml -->
<!-- devices with an autofocus camera and/or flash must include either
android.hardware.camera.autofocus.xml or
diff --git a/data/etc/tablet_core_hardware.xml b/data/etc/tablet_core_hardware.xml
index 952d078..bf29fe4 100644
--- a/data/etc/tablet_core_hardware.xml
+++ b/data/etc/tablet_core_hardware.xml
@@ -32,6 +32,8 @@
<feature name="android.hardware.touchscreen.multitouch" />
<feature name="android.hardware.touchscreen.multitouch.distinct" />
<feature name="android.hardware.microphone" />
+ <feature name="android.hardware.screen.portrait" />
+ <feature name="android.hardware.screen.landscape" />
<!-- devices with GPS must include android.hardware.location.gps.xml -->
<!-- devices with a rear-facing camera must include one of these as appropriate:
android.hardware.camera.xml or