Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2016-09-02 19:13:06 +00:00
commit 7bc4b5bcd4
1 file changed
+1
+1
View File
@@ -1800,6 +1800,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
case MotionEvent.ACTION_CANCEL:
if (mTouchState == TOUCH_STATE_SCROLLING) {
snapToDestination();
onScrollInteractionEnd();
}
resetTouchState();
break;