diff options
author | Adam Cohen <adamcohen@google.com> | 2013-12-13 15:07:14 -0800 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-06-06 22:54:23 -0700 |
commit | 0e2292f1b24de1db3917fb66ae124e867919cc5c (patch) | |
tree | ae68ffe598f804acfe1a8341b966104c5572aef2 /src/com/android/launcher3/Workspace.java | |
parent | d1006eadaa4a692669de714ad9b1438dff399fc3 (diff) | |
download | android_packages_apps_Trebuchet-0e2292f1b24de1db3917fb66ae124e867919cc5c.tar.gz android_packages_apps_Trebuchet-0e2292f1b24de1db3917fb66ae124e867919cc5c.tar.bz2 android_packages_apps_Trebuchet-0e2292f1b24de1db3917fb66ae124e867919cc5c.zip |
Don't notifyPageSwitchListener until page settles (issue 12069757)
-> Should address the dismiss timer not working quite right
Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 9c7e9e805..f62e010e4 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -1283,7 +1283,7 @@ public class Workspace extends SmoothPagedView @Override protected void notifyPageSwitchListener() { super.notifyPageSwitchListener(); - Launcher.setScreen(mCurrentPage); + Launcher.setScreen(getNextPage()); if (hasCustomContent() && getNextPage() == 0 && !mCustomContentShowing) { mCustomContentShowing = true; |