File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
core/java/com/android/internal/widget/multiwaveview Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -803,12 +803,8 @@ private void handleUp(MotionEvent event) {
803803 private void handleCancel (MotionEvent event ) {
804804 if (DEBUG && mDragging ) Log .v (TAG , "** Handle CANCEL" );
805805
806- // We should drop the active target here but it interferes with
807- // moving off the screen in the direction of the navigation bar. At some point we may
808- // want to revisit how we handle this. For now we'll allow a canceled event to
809- // activate the current target.
810-
811- // mActiveTarget = -1; // Drop the active target if canceled.
806+ // Drop the active target if canceled.
807+ mActiveTarget = -1 ;
812808
813809 int actionIndex = event .findPointerIndex (mPointerId );
814810 actionIndex = actionIndex == -1 ? 0 : actionIndex ;
You can’t perform that action at this time.
0 commit comments