diff options
| author | 2022-07-21 12:55:30 +0800 | |
|---|---|---|
| committer | 2022-07-21 18:01:50 +0800 | |
| commit | 7d03d85d8e5998824ea83e54fbe9e7bf71a36d0f (patch) | |
| tree | 7ab0db83935e4b15303e1cdfe9c50a9f2c86574f /libs/androidfw/StringPool.cpp | |
| parent | 14768734236315b93d4d808035884d242b99433a (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions