Loading packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java +5 −1 Original line number Diff line number Diff line Loading @@ -257,8 +257,12 @@ public class RecentsViewTouchHandler { case MotionEvent.ACTION_UP: case MotionEvent.ACTION_CANCEL: { if (mDragRequested) { boolean cancelled = action == MotionEvent.ACTION_CANCEL; if (cancelled) { EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, null)); } EventBus.getDefault().send(new DragEndEvent(mDragTask, mTaskView, action == MotionEvent.ACTION_UP ? mLastDropTarget : null)); !cancelled ? mLastDropTarget : null)); break; } } Loading Loading
packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java +5 −1 Original line number Diff line number Diff line Loading @@ -257,8 +257,12 @@ public class RecentsViewTouchHandler { case MotionEvent.ACTION_UP: case MotionEvent.ACTION_CANCEL: { if (mDragRequested) { boolean cancelled = action == MotionEvent.ACTION_CANCEL; if (cancelled) { EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, null)); } EventBus.getDefault().send(new DragEndEvent(mDragTask, mTaskView, action == MotionEvent.ACTION_UP ? mLastDropTarget : null)); !cancelled ? mLastDropTarget : null)); break; } } Loading