Skip to content
Commit 7d03d85d authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Support display resize animation for shell transition

Apply scale to screenshot layer according to the display size.
Use sync transaction for display traversal, so when the logical
display is changed, the screenshot can cover the change at the
same time. The windows (e.g. display cutout) above the screenshot
layer are also requested to use sync transaction, so before the
sync start transaction is applied, the intermediate buffer won't
show on screen.

Bug: 223397416
Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot
      Enter Settings -> Display -> Screen resolution
      Observe no flickering when switching resolution.

Change-Id: I30b147a220fa2e0b18f0948baa4e65436d995623
parent 14768734
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