commit | 622bd3244d82bb982f4f8bf2e5b7d1d9c98860d3 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Oct 29 18:02:27 2018 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Nov 01 15:13:29 2018 -0700 |
tree | 6ea4e775f717df38f8185f4537fe64993e186b14 | |
parent | a5517d710e729ed4ebfc44016d3cc77c25505d87 [diff] |
Allow injected events to specify repeatCount Injected key events may contain repeatCount. Currently, all injected events are hardcoded to have zero key repeat. This breaks any injected key event that simulates long-press behaviour. To fix this, ensure that we are using the specified repeatCount from the injected event. Test: atest KeyEventInjectionTest Bug: 113341746 Change-Id: Ic663df984703b04f021e428463868293366b4250