Skip to content
Commit a1b4489f authored by Ahan Wu's avatar Ahan Wu
Browse files

DO NOT MERGE Fix ImageWallpaper memory regression

Scale bitmap to fit display size leads to memory regression, this cl
removes the sacling logic and also disable wallpaper transitions when
the bitmap size is smaller than display size to avoid broken visual.
We backport the solution to Q.

Bug: 147379974
Bug: 145897588
Bug: 124838911
Test: Manually
Test: atest com.android.systemui
Test: adb shell dumpsys SurfaceFlinger, then check layer size of ImageWallpaper
Merged-In: I243274af54538fc89268c448aa2c5a95f63c7ae3
Change-Id: If348748ec453f2b35b25576181c8a144496e258c
parent 79f35238
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