Skip to content
Commit a0876641 authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Account for wallpaper scale in prepareSurfaceLocked

This fixes a flicker in the wallpaper when rotating the
screen that was caused because prepareSurface was scaling
and translating the surface without considering the zoom-in
scale that is applied everywhere else to wallpapers so the
end result was the surface being scaled down then up again.

Also clean up a bit the usages of setWallpaperPositionAndScale

Bug: 152002715
Fixes: 152376185
Test: manual
Change-Id: I2d2d74a411bee13bee1a7b4cce3744ee450ac549
parent 2328849c
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