aboutsummaryrefslogtreecommitdiffstats
path: root/android/avd
diff options
context:
space:
mode:
authorOla Albertsson <ola.albertsson@sonyericsson.com>2010-12-17 14:53:44 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2010-12-17 15:27:51 +0100
commit7c8397abd80cd6ba6a2665ef22739e603ae4c290 (patch)
treec442455d331cdc28e9fa98b905aa496ade32c6fd /android/avd
parente3936ca43e99a066e714cea18f95ac22d8392b91 (diff)
downloadexternal_qemu-7c8397abd80cd6ba6a2665ef22739e603ae4c290.zip
external_qemu-7c8397abd80cd6ba6a2665ef22739e603ae4c290.tar.gz
external_qemu-7c8397abd80cd6ba6a2665ef22739e603ae4c290.tar.bz2
Adding proximity sensor simulation
Proximity sensor is added in emulator and avd ini file is modified to be able add a proximity seensor to a avd. Change-Id: I4d2645c0c4861511451b606e18d2fd9b9a2d27ed
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 615c758..68979de 100644
--- a/android/avd/hardware-properties.ini
+++ b/android/avd/hardware-properties.ini
@@ -150,3 +150,10 @@ type = integer
default = 16
abstract = Max VM application heap size
description = The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes.
+
+# Proximity sensor
+name = hw.sensors.proximity
+type = boolean
+default = yes
+abstract = Proximity support
+description = Whether there is an proximity in the device.
diff --git a/android/avd/hw-config-defs.h b/android/avd/hw-config-defs.h
index 77cb8fe..9eb4335 100644
--- a/android/avd/hw-config-defs.h
+++ b/android/avd/hw-config-defs.h
@@ -150,6 +150,13 @@ HWCFG_INT(
"Max VM application heap size",
"The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes.")
+HWCFG_BOOL(
+ hw_sensors_proximity,
+ "hw.sensors.proximity",
+ "yes",
+ "Proximity support",
+ "Whether there is an proximity in the device.")
+
#undef HWCFG_INT
#undef HWCFG_BOOL
#undef HWCFG_DISKSIZE