Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0686f0c4 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Reset touch state when device resets

At any point in time, an input device may be reset. We already generate
cancel events to handle this situation.
However, that's not sufficient.

In this CL, touch state is cleared of all pointers for the device that
is getting reset.

Bug: 273376858
Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests --gtest_filter="*NotifyDeviceResetCancelsHoveringStream*"
Change-Id: I66da4f3eec125a6b260ed1478bca00164bb40c9e
parent c03813b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment