Fixed a bug in the scrolling logic

When the user overflung to go to the quicksettings panel the
scroll logic remained active and was not reset.

Change-Id: Iab733f3525d5465c5dc583559d0acbc350274171
This commit is contained in:
Selim Cinek
2014-06-16 16:01:03 -07:00
parent 2c749d2427
commit 48e746c3c8

View File

@@ -762,11 +762,12 @@ public class NotificationStackScrollLayout extends ViewGroup
}
}
}
mActivePointerId = INVALID_POINTER;
endDrag();
}
mActivePointerId = INVALID_POINTER;
endDrag();
}
break;
case MotionEvent.ACTION_CANCEL:
if (mIsBeingDragged && getChildCount() > 0) {