commit | e491fb5ae1c602bc09271b8fa3456ee9af8a5a64 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Thu Aug 11 01:51:24 2022 +0000 |
committer | Siarhei Vishniakou <svv@google.com> | Sat Aug 13 01:34:16 2022 +0000 |
tree | 53d5a89d6bd8e8e992365999cf9af0c4971efaff | |
parent | 88151b8fde4bb81f386644fc2671bd1d9563d5f2 [diff] |
Call Filter from a separate function The function 'processMotion' has gotten too long. To make it easier to reason about, separate some code from the center of the function into a new function. Unfortunately, this new function will have side-effects, but it's still easier to understand and reduces the number of local vars. There's no functional change in this CL. Bug: 241935838 Test: atest inputflinger_tests Change-Id: I2157798b70299659791ae6ef85b2394e9130b4b3