summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2024-06-25 17:05:30 -0700
committer Bryce Lee <brycelee@google.com> 2024-06-25 17:05:30 -0700
commita5d0d2c73df47c7941ec6cfcdffcde7ba38f6232 (patch)
tree1f3b92c1f496680b9654a9358e477ed943d2638f /libs/androidfw/StringPool.cpp
parentd9227e90e7f56e04184a8a1690ce7a1a9ceadcee (diff)
Clear active sessions when stopping touch monitoring.
It is currently possible to stop TouchMonitor even if there are active touch sessions. This is needed when there is a lifecycle change and touch handling must be disabled. While the sessions are currently notified and cleaned up, TouchMonitor fails to clear the active session references. Therefore, future touch events are sent to essentially empty shells of past sessions. This changelist addresses this issue by clearing the list of active sessions after each has been notified. Fixes: 348656793 Test: atest TouchMonitorTest#testSessionResetOnLifecycle Flag: EXEMPT bugfix Change-Id: If8abd912abdd177932c94fdd84f5e27ac0a53bf3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions