commit | 2ee6d0ba7d362ed956b5e10a6809059757bc0a41 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Thu Mar 03 20:19:38 2022 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Fri Mar 18 03:59:20 2022 +0000 |
tree | afdfd0c4dcf7916a2fe285101096c1d2a729e771 | |
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