aboutsummaryrefslogtreecommitdiffstats
path: root/android/avd
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:44 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:44 -0700
commit9877e2e3e3c2df64de306b48f80a4f5d0b028d95 (patch)
tree8a31dd7a07d55c182e7f572379a601ef545c1d29 /android/avd
parentb3ee93a038ab992ffdda9f232befdea6ea713b24 (diff)
downloadexternal_qemu-9877e2e3e3c2df64de306b48f80a4f5d0b028d95.zip
external_qemu-9877e2e3e3c2df64de306b48f80a4f5d0b028d95.tar.gz
external_qemu-9877e2e3e3c2df64de306b48f80a4f5d0b028d95.tar.bz2
auto import from //branches/cupcake_rel/...@140373
Diffstat (limited to 'android/avd')
-rw-r--r--android/avd/hardware-properties.ini7
-rw-r--r--android/avd/hw-config-defs.h7
2 files changed, 14 insertions, 0 deletions
diff --git a/android/avd/hardware-properties.ini b/android/avd/hardware-properties.ini
index 3093b16..60a7493 100644
--- a/android/avd/hardware-properties.ini
+++ b/android/avd/hardware-properties.ini
@@ -96,6 +96,13 @@ default = yes
abstract = Battery support
description = Whether the device can run on a battery.
+# Accelerometer (used for auto-rotation)
+name = hw.accelerometer
+type = boolean
+default = yes
+abstract = Accelerometer
+description = Whether there is an accelerometer in the device.
+
# Audio input
name = hw.audioInput
type = boolean
diff --git a/android/avd/hw-config-defs.h b/android/avd/hw-config-defs.h
index fd85bf2..3e7cec6 100644
--- a/android/avd/hw-config-defs.h
+++ b/android/avd/hw-config-defs.h
@@ -95,6 +95,13 @@ HWCFG_BOOL(
"Whether the device can run on a battery.")
HWCFG_BOOL(
+ hw_accelerometer,
+ "hw.accelerometer",
+ "yes",
+ "Accelerometer",
+ "Whether there is an accelerometer in the device.")
+
+HWCFG_BOOL(
hw_audioInput,
"hw.audioInput",
"yes",