commit | 84395e6eb555b2e148e62fe85b222fd9135c1450 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed Oct 26 19:52:00 2022 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Thu Oct 27 20:55:50 2022 +0000 |
tree | 1a14ac1239e907d8cac91f1756a612b905d98b2b | |
parent | efa77d18072f1ac821e626018f81fc22f66b41c7 [diff] |
Extract HID usage accumulation logic from KeyboardInputMapper Extract the logic into a HidUsageAccumulator class so that when HID usage is used in more than one place, the usage code accumulation logic maintains the same behavior. There should be no behavior change in this CL. Bug: 246394583 Test: atest inputflinger_tests Change-Id: Ia5f9bcac145f07c0d0dca643755dcff1b725d568