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

Skip to content
Commit 93e5b37f authored by Bryce Lee's avatar Bryce Lee Committed by Android Build Coastguard Worker
Browse files

Do not restart touch listening if TouchMonitor is destroyed.

This changelist ensures that TouchMonitor does not continue listening
and handling touches past destroy. Previously, this was possible if
touch handling ended after the monitor was destroyed. In this case, the
TouchMonitor was reset incorrectly to a listening/ready state.

Logging has also been improved with this change by adding a unique
identifier to each TouchMonitor instance for better attribution.

Test: atest TouchMonitorTest#testSessionPopAfterDestroy
Flag: EXEMPT bugfix
Fixes: 367549056
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:831010e556becd2d9447f0851eb9b7ced9597bfa)
Merged-In: I16d99aab763570693144f15d102ae07ac2d9cd07
Change-Id: I16d99aab763570693144f15d102ae07ac2d9cd07
parent a52f68e3
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