Reset rollo to page 0 when it's fully zoomed out.
diff --git a/src/com/android/launcher2/SwipeController.java b/src/com/android/launcher2/SwipeController.java
index 7617fe0..a900fca 100644
--- a/src/com/android/launcher2/SwipeController.java
+++ b/src/com/android/launcher2/SwipeController.java
@@ -125,6 +125,7 @@
mTracking = false;
mDownX = screenX;
mDownY = screenY;
+ mAllAppsView.setZoomSwipeInProgress(true, true);
break;
case MotionEvent.ACTION_MOVE:
@@ -132,6 +133,7 @@
if (Math.abs(deltaX) > mSlop) {
mCanceled = true;
mTracking = false;
+ mAllAppsView.setZoomSwipeInProgress(false, true);
}
if (Math.abs(deltaY) > mSlop) {
mTracking = true;
@@ -146,6 +148,7 @@
case MotionEvent.ACTION_UP:
if (mTracking && !mCanceled) {
fling(screenY);
+ mAllAppsView.setZoomSwipeInProgress(false, false);
}
mVelocityTracker.recycle();
mVelocityTracker = null;