Loading src/com/android/launcher3/Launcher.java +3 −1 Original line number Diff line number Diff line Loading @@ -3235,7 +3235,6 @@ public class Launcher extends Activity mWorkspace.startReordering(v); } else { showOverviewMode(true); mHotseat.requestDisallowInterceptTouchEvent(true); } } else { final boolean isAllAppsButton = Loading Loading @@ -3386,6 +3385,9 @@ public class Launcher extends Activity mStateTransitionAnimation.startAnimationToWorkspace(mState, mWorkspace.getState(), Workspace.State.OVERVIEW, animated, postAnimRunnable); mState = State.WORKSPACE; // If animated from long press, then don't allow any of the controller in the drag // layer to intercept any remaining touch. mWorkspace.requestDisallowInterceptTouchEvent(animated); } /** Loading src/com/android/launcher3/allapps/AllAppsTransitionController.java +3 −4 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul public boolean onInterceptTouchEvent(MotionEvent ev) { if (ev.getAction() == MotionEvent.ACTION_DOWN) { mNoIntercept = false; if (mLauncher.getWorkspace().isInOverviewMode() || mLauncher.isWidgetsViewVisible()) { if (!mLauncher.isAllAppsVisible() && mLauncher.getWorkspace().workspaceInModalState()) { mNoIntercept = true; } else if (mLauncher.isAllAppsVisible() && !mAppsView.shouldContainerScroll(ev)) { Loading Loading @@ -159,9 +159,8 @@ public class AllAppsTransitionController implements TouchController, VerticalPul return true; } } else { if ((mLauncher.getDragLayer().isEventOverHotseat(ev) || mLauncher.getDragLayer().isEventOverPageIndicator(ev)) && !grid.isVerticalBarLayout()) { if (mLauncher.getDragLayer().isEventOverHotseat(ev) || mLauncher.getDragLayer().isEventOverPageIndicator(ev)) { return true; } } Loading Loading
src/com/android/launcher3/Launcher.java +3 −1 Original line number Diff line number Diff line Loading @@ -3235,7 +3235,6 @@ public class Launcher extends Activity mWorkspace.startReordering(v); } else { showOverviewMode(true); mHotseat.requestDisallowInterceptTouchEvent(true); } } else { final boolean isAllAppsButton = Loading Loading @@ -3386,6 +3385,9 @@ public class Launcher extends Activity mStateTransitionAnimation.startAnimationToWorkspace(mState, mWorkspace.getState(), Workspace.State.OVERVIEW, animated, postAnimRunnable); mState = State.WORKSPACE; // If animated from long press, then don't allow any of the controller in the drag // layer to intercept any remaining touch. mWorkspace.requestDisallowInterceptTouchEvent(animated); } /** Loading
src/com/android/launcher3/allapps/AllAppsTransitionController.java +3 −4 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul public boolean onInterceptTouchEvent(MotionEvent ev) { if (ev.getAction() == MotionEvent.ACTION_DOWN) { mNoIntercept = false; if (mLauncher.getWorkspace().isInOverviewMode() || mLauncher.isWidgetsViewVisible()) { if (!mLauncher.isAllAppsVisible() && mLauncher.getWorkspace().workspaceInModalState()) { mNoIntercept = true; } else if (mLauncher.isAllAppsVisible() && !mAppsView.shouldContainerScroll(ev)) { Loading Loading @@ -159,9 +159,8 @@ public class AllAppsTransitionController implements TouchController, VerticalPul return true; } } else { if ((mLauncher.getDragLayer().isEventOverHotseat(ev) || mLauncher.getDragLayer().isEventOverPageIndicator(ev)) && !grid.isVerticalBarLayout()) { if (mLauncher.getDragLayer().isEventOverHotseat(ev) || mLauncher.getDragLayer().isEventOverPageIndicator(ev)) { return true; } } Loading