diff options
Diffstat (limited to 'services/inputflinger/dispatcher/InputState.h')
-rw-r--r-- | services/inputflinger/dispatcher/InputState.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/inputflinger/dispatcher/InputState.h b/services/inputflinger/dispatcher/InputState.h index 74ae21f76a..d97a664d74 100644 --- a/services/inputflinger/dispatcher/InputState.h +++ b/services/inputflinger/dispatcher/InputState.h @@ -51,11 +51,11 @@ public: bool trackMotion(const MotionEntry& entry, int32_t action, int32_t flags); // Synthesizes cancelation events for the current state and resets the tracked state. - std::vector<std::unique_ptr<EventEntry>> synthesizeCancelationEvents( - nsecs_t currentTime, const CancelationOptions& options); + std::vector<EventEntry*> synthesizeCancelationEvents(nsecs_t currentTime, + const CancelationOptions& options); // Synthesizes down events for the current state. - std::vector<std::unique_ptr<EventEntry>> synthesizePointerDownEvents(nsecs_t currentTime); + std::vector<EventEntry*> synthesizePointerDownEvents(nsecs_t currentTime); // Clears the current state. void clear(); |