diff options
author | Santiago Etchebehere <santie@google.com> | 2020-03-30 11:28:49 -0700 |
---|---|---|
committer | Santiago Etchebehere <santie@google.com> | 2020-04-02 10:33:13 -0700 |
commit | a0876641342c29e87f543d5315f62eaab473ed69 (patch) | |
tree | 7be79874b57c96937eab5054867716101864d328 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2328849cc6e037177b4eb61f18c5f7529f5ab703 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions