diff options
| author | 2024-05-28 17:38:02 -0700 | |
|---|---|---|
| committer | 2024-05-28 17:39:31 -0700 | |
| commit | 9ea768116486dd21a9fab4b700a70ee5011741b5 (patch) | |
| tree | ba1e4a70bfe5916106d4caaf8ac5c5ec9e3f861d /libs/androidfw/StringPool.cpp | |
| parent | 8cf3a71f71f077ea002e1af2f7bfc7c2b7df19be (diff) | |
Address TouchMonitor memory leaks.
This changelist addresses TouchMonitor memory leaks by:
- Clearing TouchMonitor's reference to the gesture exclusion listener to
prevent circular references.
- Removing lifecycle observers and lifecycle flows when the TouchMonitor
is destroyed.
- Clearing references to touch sessions when no longer used.
Fixes: 338532926
Test: DreamOverlayServiceTest#testOnEndDream
Test: TouchMonitorTest#testDestroy_cleansUpLifecycleObserver
Flag: EXEMPT bugfix
Change-Id: I6979c8cbcd8fa9baebf962927c93325eb6eb688c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions