summaryrefslogtreecommitdiffstats
path: root/include/gui/SensorEventQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/SensorEventQueue.h')
-rw-r--r--include/gui/SensorEventQueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/SensorEventQueue.h b/include/gui/SensorEventQueue.h
index 02b3d38..b70957b 100644
--- a/include/gui/SensorEventQueue.h
+++ b/include/gui/SensorEventQueue.h
@@ -77,6 +77,8 @@ public:
status_t flush() const;
// Send an ack for every wake_up sensor event that is set to WAKE_UP_SENSOR_EVENT_NEEDS_ACK.
void sendAck(const ASensorEvent* events, int count);
+
+ status_t injectSensorEvent(const ASensorEvent& event);
private:
sp<Looper> getLooper() const;
sp<ISensorEventConnection> mSensorEventConnection;