diff options
| author | 2023-06-29 12:28:29 +0000 | |
|---|---|---|
| committer | 2023-06-29 13:56:11 +0000 | |
| commit | 11514a9032345c6ded05ef70176b5b82efc6fe64 (patch) | |
| tree | a2a36de373bfc31323af5c2cb3b41c77d7b5d45c /libs/androidfw/BackupData.cpp | |
| parent | c8a7e3557c53b4a319b90198990fb0925f0ece06 (diff) | |
Load and draw bitmap only once with ImageWallpaper
Given that ImageWallpaper uses surface.SetFixedSize with the dimensions
of the image, and that WallpaperController moves the without redrawing
the bitmap (e.g. in case of rotation/unfold), the bitmap only needs to
be drawn once (in theory).
Bug: 288582051
Bug: 265018814
Test: manual on foldable: fold, unfold, rotate, with one or two
ImageWallpaper engines
Test: atest ImageWallpaperTest
Change-Id: I1a61c5d30c5f4d6abff4eac76195b74dfb18fe6f
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions