summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2024-09-26 13:34:40 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2024-10-02 01:57:14 +0000
commit93e5b37fe185d2656b41500486da5f031f252670 (patch)
tree298c17cfbb7b21d2a94f7f79d808b8f76f64859b /api/api.go
parenta52f68e387d6102873c474e4177fc65034dd25b8 (diff)
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions