Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20bd2c10 authored by Tony Wickham's avatar Tony Wickham Committed by Android Git Automerger
Browse files

am 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.

* commit '6ed058cb':
  Wallpaper preview parallax matches the actual wallpaper's.
parents a3c9fb12 6ed058cb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -748,6 +748,9 @@ public class Launcher extends Activity
            return;
        } else if (requestCode == REQUEST_PICK_WALLPAPER) {
            if (resultCode == RESULT_OK && mWorkspace.isInOverviewMode()) {
                // User could have free-scrolled between pages before picking a wallpaper; make sure
                // we move to the closest one now to avoid visual jump.
                mWorkspace.setCurrentPage(mWorkspace.getPageNearestToCenterOfScreen());
                showWorkspace(false);
            }
            return;