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
Loading
Please register or sign in to comment