Loading quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java +6 −0 Original line number Diff line number Diff line Loading @@ -305,6 +305,9 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im if (mDisallowGlobalDrag) { AbstractFloatingView.closeAllOpenViewsExcept(mActivity, TYPE_TASKBAR_ALL_APPS); } else { // stash the transient taskbar mControllers.taskbarStashController.updateAndAnimateTransientTaskbar(true); AbstractFloatingView.closeAllOpenViews(mActivity); } Loading Loading @@ -413,6 +416,9 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im if (dragEvent.getResult()) { maybeOnDragEnd(); } else { // un-stash the transient taskbar in case drag and drop was canceled mControllers.taskbarStashController.updateAndAnimateTransientTaskbar(false); // This will take care of calling maybeOnDragEnd() after the animation animateGlobalDragViewToOriginalPosition(btv, dragEvent); } Loading Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java +6 −0 Original line number Diff line number Diff line Loading @@ -305,6 +305,9 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im if (mDisallowGlobalDrag) { AbstractFloatingView.closeAllOpenViewsExcept(mActivity, TYPE_TASKBAR_ALL_APPS); } else { // stash the transient taskbar mControllers.taskbarStashController.updateAndAnimateTransientTaskbar(true); AbstractFloatingView.closeAllOpenViews(mActivity); } Loading Loading @@ -413,6 +416,9 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im if (dragEvent.getResult()) { maybeOnDragEnd(); } else { // un-stash the transient taskbar in case drag and drop was canceled mControllers.taskbarStashController.updateAndAnimateTransientTaskbar(false); // This will take care of calling maybeOnDragEnd() after the animation animateGlobalDragViewToOriginalPosition(btv, dragEvent); } Loading