summaryrefslogtreecommitdiffstats
path: root/include/gui/Sensor.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-07-14 23:41:37 -0700
committerMathias Agopian <mathias@google.com>2010-07-19 17:57:29 -0700
commit1bf797857e025e8a71db86fb9e79765a767ec1eb (patch)
treee8d1aabae069f2b7368be746b99667eb150363f5 /include/gui/Sensor.h
parentff7049ab2886acc73e145367118646f7741ce333 (diff)
downloadframeworks_base-1bf797857e025e8a71db86fb9e79765a767ec1eb.zip
frameworks_base-1bf797857e025e8a71db86fb9e79765a767ec1eb.tar.gz
frameworks_base-1bf797857e025e8a71db86fb9e79765a767ec1eb.tar.bz2
new SensorService
remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
Diffstat (limited to 'include/gui/Sensor.h')
-rw-r--r--include/gui/Sensor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gui/Sensor.h b/include/gui/Sensor.h
index 86a16f1..e696d63 100644
--- a/include/gui/Sensor.h
+++ b/include/gui/Sensor.h
@@ -51,7 +51,8 @@ public:
TYPE_PROXIMITY = ASENSOR_TYPE_PROXIMITY
};
- Sensor();
+ Sensor();
+ Sensor(struct sensor_t const* hwSensor);
virtual ~Sensor();
const String8& getName() const;