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

Skip to content
Commit b0accc8e authored by William Xiao's avatar William Xiao
Browse files

Fix misc issues for transition to hub when turning screen on

This CL fixes various timing issues when showing the dream when wkaing
from doze, especially when pressing power button quickly:
* Dream doesn't start under the hub sometimes
* Hub transitions to dream or occluded when dream starts underneath
* Device doesn't transition to hub when pressing power quickly and
  skipping the DOZING keyguard state
* Keyguard state goes to OCCLUDED instead of DREAMING when closing hub
  shortly after dream starts underneath hub

Manually verified on device while dreaming with various sleep timings:
adb shell input keyevent POWER && sleep 0.8 && adb shell input keyevent POWER

Bug: 363239820
Test: atest CommunalSceneTransitionInteractorTest FromDreamingTransitionInteractorTest
Flag: com.android.systemui.communal_hub
Change-Id: Ida1ee5880099a060b348e1977a951d04cb73102a
parent 6c9fc4c4
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