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

Commit 60e93933 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

Wait for KeyguardService#onScreenTurningOn when switching displays

Updates DeferredDisplayUpdater to wait for the keyguard
to send an 'onDrawn' callback before marking the display
switch Shell transition as ready.

Keyguard will add SHOW_WALLPAPER flag in the onScreenTurningOn(onDrawn)
 callback, waiting for the onDrawn callback will ensure that
 the wallpaper is part of the transition.

Bug: 395612286
Flag: com.android.window.flags.ensure_wallpaper_drawn_on_display_switch
Test: atest DisplayContentDeferredUpdateTests
Test: fold/unfold a foldable device
Change-Id: I204a731b41a2693e2c1de5f92eb93bce8ee7e7c6
parent 2525179c
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