commit | bcd6bb61330525f418193e388d876e473abcc13c | [log] [tgz] |
---|---|---|
author | Santiago Etchebehere <santie@google.com> | Thu Jul 09 12:09:21 2020 -0700 |
committer | Santiago Etchebehere <santie@google.com> | Thu Jul 09 19:15:58 2020 +0000 |
tree | 2aa97cffa36c117c935ec53ff557715577d3c214 | |
parent | f770335bbebf52f63ca50ee3d0d9dc582826cb4e [diff] |
Adjust the scale before calculating wallpaper cropRect This way we calculate the rectangle taking into account the extra size needed for zoom, which means the center is now correct and we can get rid of the hack for one-screen sized wallpapers. https://screenshot.googleplex.com/cHhHu85597R.png Fixes: 160865927 Change-Id: I6a5f2fd6217cf40caca434af6ff58000422417a3