From 7c8397abd80cd6ba6a2665ef22739e603ae4c290 Mon Sep 17 00:00:00 2001 From: Ola Albertsson Date: Fri, 17 Dec 2010 14:53:44 +0100 Subject: 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 --- android/hw-sensors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'android/hw-sensors.h') diff --git a/android/hw-sensors.h b/android/hw-sensors.h index 37bf20e..5cfc748 100644 --- a/android/hw-sensors.h +++ b/android/hw-sensors.h @@ -26,6 +26,7 @@ extern void android_hw_sensors_init( void ); SENSOR_(MAGNETIC_FIELD,"magnetic-field") \ SENSOR_(ORIENTATION,"orientation") \ SENSOR_(TEMPERATURE,"temperature") \ + SENSOR_(PROXIMITY,"proximity") \ typedef enum { #define SENSOR_(x,y) ANDROID_SENSOR_##x, -- cgit v1.1