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

Skip to content
Commit 355cc15c authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reduce unnecessary redraw of wallpaper with shell transition

Wallpaper only needs to draw once in most of cases. It usually
only changes visibility, so the redraw doesn't make any effect
but the latency.

This may reduce ~20ms latency while swiping up to recents with
shell transition.

Also limit adjustWallpaperWindows for shell rotation in
ensureActivitiesVisible, because only shell rotation needs to
capture a closing state of wallpaper.

Bug: 231435331
Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot
      adb shell wm logging enable-text WM_DEBUG_DRAW
      Swipe to recents and check there is no log "finishDrawing"
      of wallpaper.
Change-Id: Iee1bed1ebee986c096f930759571eb147abad56d
parent 6cfafc4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment