Fix glanceable hub not showing when waking from doze
Some timings seem to have changed and the device is now consistenly awake before the doze dream has finished, so we now use "false" for the isScreenOn parameter when quering canStartDreaming. We debounce the occluded signal instead of reading it immediately when waking since it can lag behind the dream stopping when power cycling rapidly. Also fixes the notifications showing when transitioning from doze to hub. Bug: 363239820 Test: atest FromDozingTransitionInteractorTest SharedNotificationContainerViewModelTest Flag: com.android.systemui.communal_hub Change-Id: Ib5a356ad59f0002b40dc112ab77b607c37fffe1f
Loading
Please register or sign in to comment