commit | 42611e031b19fd6f545bb00622c6ffc98559d802 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue Nov 27 14:04:02 2018 -0800 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue Dec 11 14:29:55 2018 -0800 |
tree | 108d9c2996ab1bdbbe1fe3d78a8ade2bb2b140b0 | |
parent | 227d1b1098a8d4fa562ca23914c7472c337acf26 [diff] |
Add sequence number to events in inputflinger This adds a sequece number field to NotifyArgs and EventEntry in order to uniquely track individual events. The sequence number for the events is added in InputReader, where the next sequence number is an increment of the previous event's sequence number. Synthesized events have a sequence number of 0. Bug: 119312685 Test: inputflinger_tests Change-Id: I1690979a5aa019e99ab89f5f7279a1b42068e658