Loading
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