From 9877e2e3e3c2df64de306b48f80a4f5d0b028d95 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 18 Mar 2009 17:39:44 -0700 Subject: auto import from //branches/cupcake_rel/...@140373 --- android/avd/hardware-properties.ini | 7 +++++++ android/avd/hw-config-defs.h | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'android/avd') 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", -- cgit v1.1