Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b0f01f1 authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

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
parent ee5f0cfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment