| commit | fea99012bc9b58d037659ac219ec3274c862824e | [log] [tgz] |
|---|---|---|
| author | liushenxiang <liushenxiang@xiaomi.com> | Fri May 21 20:24:09 2021 +0800 |
| committer | 刘申享 <liushenxiang@xiaomi.com> | Thu May 27 16:58:39 2021 +0000 |
| tree | 7b123b52c955cd3670cef98a94b198d873445ebc | |
| parent | 3ca69777c5e0d96c8c95f102e41db429dc957445 [diff] |
[BugFix] Reset key repeating in case a keyboard device was disabled or enabled. The "resetKeyRepeatLocked" will never be called when we disable a keyboard device. In this case, if we long click a key on keyboard and it began to repeat. Then we disable the keyboard. We find that the key repeating will never stop until a next key event come. Test: atest inputflinger_tests Change-Id: Ic0e37d1e1e447d4965f3fbb479e0eca7c726a6ab Merged-In: Ic0e37d1e1e447d4965f3fbb479e0eca7c726a6ab