diff options
| author | 2024-07-01 13:56:54 -0700 | |
|---|---|---|
| committer | 2024-07-01 14:01:25 -0700 | |
| commit | 5f165ec3ee0d1514f45d0758bc9b785aaf13f658 (patch) | |
| tree | a1b6ee4e073c1562aef5d267108559b87f0a9b76 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 0b8d62131fb9bc5488e0ad9479108952bc633d71 (diff) | |
Do not consider implicit lifecycle observers.
JavaAdapter#collectFlow creates a lifecycle observer for the coroutine
scope that is removed upon the flow close. This happens after destroy,
causing tests verifying its removal at this stage to fail.
This changelist filters out the associated observer from the list of
observers whose removal is tracked.
Test: atest TouchMonitorTest#testDestroy_cleansUpLifecycleObserver
Flag: com.android.systemui.ambient_touch_monitor_listen_to_display_changes
Fixes: 350076145
Change-Id: I13805f4fafe77ba4bf073ead9f2dbb6fa6008aa0
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions