commit | 3ad385bfc5db16ae0ed2c54ff9c7f474c77aff82 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri Nov 04 10:09:53 2022 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Fri Nov 04 10:12:13 2022 -0700 |
tree | e460f589c458ea09cfba93773ea88e8095684937 | |
parent | 89ea6a91e3ceb2abbc6cfce890dd622c7e219dbb [diff] |
Remove TouchState::down variable This variable determines whether touch is currently down. However, we are already storing the pointers that are down for each window. We can just check whether any of the touched windows have pointers inside to replace it. Bug: 211379801 Test: m inputflinger_tests && adb sync data && adb shell -t /data/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: I4137e180835da1e689c89feff7c8f223b79aa85e