diff options
| author | 2018-06-25 17:43:23 -0700 | |
|---|---|---|
| committer | 2018-06-27 22:33:11 +0000 | |
| commit | 5bbc3013500e1a705940920dbeee65c5911c22c8 (patch) | |
| tree | 24c0e084eb089c10df057a0514c6910e056d520e /libs/input/SpriteController.cpp | |
| parent | cf0aa64ba63d2a62965eae5f9e17181203d52511 (diff) | |
Make sure keys get flushed when connection falls apart.
This is for the event that a key has been intercepted, sent to the app,
and the app hasn't handled it yet. If the connection dies, the key is
lost. So flush all pending keys.
Test: Unit test (this would have caught me introducing this bug in the
first place).
Bug:74593001
Change-Id: I5a94aafe5c58f18a3e9ca46f7cd5a9cb71d38aaa
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions