From 4342fdf14ffb792a36c1de25ad14b745df628da2 Mon Sep 17 00:00:00 2001 From: Jaikumar Ganesh Date: Mon, 8 Apr 2013 16:43:12 -0700 Subject: Sensor changes. 1. Some sensors can wake up the AP. Add wakelocks. 2. Handle backward compatibility for rotation vector heading accuracy. 3. Cleanup auto disabled sensors. 4. Fix race condition between enable and dispatch. Change-Id: I39dddf12e208d83cd288201986ee994312555820 --- services/sensorservice/SensorDevice.h | 1 + 1 file changed, 1 insertion(+) (limited to 'services/sensorservice/SensorDevice.h') diff --git a/services/sensorservice/SensorDevice.h b/services/sensorservice/SensorDevice.h index 728b6cb..b423f40 100644 --- a/services/sensorservice/SensorDevice.h +++ b/services/sensorservice/SensorDevice.h @@ -52,6 +52,7 @@ class SensorDevice : public Singleton { public: ssize_t getSensorList(sensor_t const** list); status_t initCheck() const; + int getHalDeviceVersion() const; ssize_t poll(sensors_event_t* buffer, size_t count); status_t activate(void* ident, int handle, int enabled); status_t setDelay(void* ident, int handle, int64_t ns); -- cgit v1.1