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

Commit 5485c748 authored by Lucas Silva's avatar Lucas Silva
Browse files

Refine hub power button behavior

Transition directly from GONE -> HUB when applicable. This avoids the
intermediate transition to LOCKSCREEN which happens today, and removes
notification flickering. We also check for occlusion status to avoid
showing on top of a showWhenLocked activity.

We accomplish this by making the glanceable hub available always, not
only when locked. This ensures we can quickly switch to the communal
scene when the device is locked.

Fixes: 392969914
Fixes: 402645064
Fixes: 397447524
Flag: com.android.systemui.glanceable_hub_v2
Test: atest KeyguardTransitionScenariosTest
Test: atest CommunalInteractorTest
Test: atest FromGoneTransitionInteractorTest
Change-Id: I0c80c1b313133297a49de61df48a1f4a78616f81
parent 90cead41
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