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

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2016-08-12 20:20:08 +00:00
commit 9e22de7cb3
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;