diff options
| author | 2022-03-03 20:19:38 +0800 | |
|---|---|---|
| committer | 2022-03-18 03:59:20 +0000 | |
| commit | 2ee6d0ba7d362ed956b5e10a6809059757bc0a41 (patch) | |
| tree | afdfd0c4dcf7916a2fe285101096c1d2a729e771 /libs/gui/LayerState.cpp | |
| parent | 0af0bba332d95574f4ecc574efcf66d6cd65814a (diff) | |
Reset intercept key wake time when receving up event
The policy need to handle the key shortcuts via policy callbacks,
and it may have a pending timeout in order to detect the combination
keys. If the pending key event has already known an up event has been
queued, we could reset the wake time to speed up the processing for it
may be handled in policy or not.
Bug: 220669913
Test: atest inputflinger_tests
Change-Id: Ic002b770632e15506fd2f581fc8716b26ea3626c
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions