Fixing overlay scroll state not getting reset properly when
scrolling is was cancelled Bug: 30834333 Change-Id: I3605cd2dd939057905d297b5a25ce8669d578125
This commit is contained in:
1 parent
eea721266f
commit
4ff424abf9
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user