commit | 6239e53794724034d9d90d0dc227bfb201723df6 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Fri Aug 24 17:17:26 2018 +0200 |
committer | Valentin Iftime <valiiftime@google.com> | Fri Aug 31 14:36:33 2018 +0200 |
tree | 6712026d28920804b7a635cf2f62aa870dec710a | |
parent | 589ce41dd33b6ce385158d97196a59475cd77c95 [diff] |
Resize image wallpaper surface to match bitmap size in order to optimize memory (on AndroidTV there is no need for wallpaper and RAM is wasted) Bug: 74517029 Test: Push a low resolution wallpaper to the device (adb push new_wallpaper /data/system/users/0/wallpaper), reboot and check the buffer size for com.android.systemui.ImageWallpaper (adb shell dumpsys SurfaceFlinger) Change-Id: I992175997ed09360e8fc9c2cabf354fb4fabd1f9