Change addParallaxOffset() to setParallaxOffset() in CropView.
This is less prone to error, because calling setParallaxOffset() multiple times will always lead to the same result. Plus, this works regardless of whether moveToLeft() was called first. While the parallax offset ensures that previews of built-in wallpapers match the actual wallpaper you get upon saving, it does not work in all cases. Specifically, it does not work for a couple (1 or 2 on the devices I've tested) of the larger built-in wallpapers. However, this seems to be due to a mismatch between the size of the preview wallpaper and the actual wallpaper (the latter is larger). This sounds like a separate bug. Bug: 23568800 Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
Loading
Please register or sign in to comment