commit | 13bda6c5f4d9017da66054a526d30ddfc9c188c4 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Jul 29 08:34:33 2019 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Aug 07 18:36:38 2019 -0700 |
tree | bb84c4891b67cdd7c1585d2ea9e4cb9ac53f6e28 | |
parent | 1d6fc8ffae6ae689b2f04ec20604a630e647f29b [diff] |
Use std::deque for DispatchEntry'ies. Currently, there is a custom Queue class being used in InputDispatcher. But that class makes a lot of assumptions about the memory management in the queue. This also eliminates the possibility of using std::unique_ptr inside dispatcher. First refactor to remove the custom Queue from dispatcher. Bug: 70668286 Test: SANITIZE_TARGET=hwaddress atest libinput_tests inputflinger_tests Change-Id: Ie5919e2f2da11424e0cb48e9f960d73abaf59f46