Added logic to finish sleep only after start sleep
This addresses a race condition where Notifier tells PhoneWindowManager to start sleeping but interactivity changes before it could tell finish sleeping. Before the rollout of com.android.server.display.feature.flags.separate_timeout, the check was on the default display group, but with this flag, the logic is changed to account for the interactivity of the default and default adjacent groups. Bug:424074354 Flag: com.android.server.display.feature.flags.separate_timeouts Test: PlatformScenarioTests:android.platform.test.scenario.sysui.lockscreen.LaunchCameraFromHomeIn3ButtonMode#testLaunchCameraFromHome_shouldEnabledRecentAppsKey Change-Id: I5ff182ba4d3dc16533293791cd98d4bcbc842810
Loading
Please register or sign in to comment