diff options
author | Aravind Akella <aakella@google.com> | 2013-10-08 14:59:26 -0700 |
---|---|---|
committer | Aravind Akella <aakella@google.com> | 2013-10-09 17:26:01 -0700 |
commit | 701166d9f60a6e1149ff568aec0e03f3f3925292 (patch) | |
tree | c13bc43503cc3140efa88323823a8a79eb90b49c /include/gui/SensorEventQueue.h | |
parent | d457ec52d7023e9a6112f313cd2bf94293162214 (diff) | |
download | frameworks_native-701166d9f60a6e1149ff568aec0e03f3f3925292.zip frameworks_native-701166d9f60a6e1149ff568aec0e03f3f3925292.tar.gz frameworks_native-701166d9f60a6e1149ff568aec0e03f3f3925292.tar.bz2 |
Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection.
Change-Id: I4ef2bec80406c517903ab9782dc9eaf3fa8b7f36
Diffstat (limited to 'include/gui/SensorEventQueue.h')
-rw-r--r-- | include/gui/SensorEventQueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/SensorEventQueue.h b/include/gui/SensorEventQueue.h index a3a9daa..0bfc7a0 100644 --- a/include/gui/SensorEventQueue.h +++ b/include/gui/SensorEventQueue.h @@ -74,7 +74,7 @@ public: status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int maxBatchReportLatencyUs, int reservedFlags) const; status_t disableSensor(int32_t handle) const; - status_t flushSensor(int32_t handle) const; + status_t flush() const; private: sp<Looper> getLooper() const; |