| commit | b255215a6fa06b333136b44465efe08cd238eee3 | [log] [tgz] |
|---|---|---|
| author | Harry Cutts <hcutts@google.com> | Tue Dec 13 17:18:09 2022 +0000 |
| committer | Harry Cutts <hcutts@google.com> | Tue Dec 13 17:18:09 2022 +0000 |
| tree | 70ecd8b54aa3abeb554c2154055d5f7e87272183 | |
| parent | ff9c00ddc930794bd69efe277ec96cecf6faf7d3 [diff] |
Fix max touch count calculation in TouchpadInputMapper
It seems I got confused between InputDeviceContext.hasKeyCode and
hasScanCode.
Bug: 251196347
Test: check that max_touch_cnt in the HardwareProperties is set
correctly (e.g. with the tests from ag/20691427)
Change-Id: Ief9144deb90360e1f12f35316b174a40de8c3db4