Loading quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +2 −9 Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ import android.view.Surface; import android.widget.FrameLayout; import com.android.launcher3.BaseQuickstepLauncher; import com.android.launcher3.Hotseat; import com.android.launcher3.LauncherState; import com.android.launcher3.statehandlers.DepthController; import com.android.launcher3.statemanager.StateManager.StateListener; Loading Loading @@ -177,14 +176,8 @@ public class LauncherRecentsView extends RecentsView<BaseQuickstepLauncher> @Override protected boolean shouldStealTouchFromSiblingsBelow(MotionEvent ev) { if (ev.getAction() == MotionEvent.ACTION_DOWN) { // Allow touches to go through to the hotseat. Hotseat hotseat = mActivity.getHotseat(); boolean touchingHotseat = hotseat.isShown() && mActivity.getDragLayer().isEventOverView(hotseat, ev, this); return !touchingHotseat; } return super.shouldStealTouchFromSiblingsBelow(ev); return mActivity.getStateManager().getState().overviewUi && super.shouldStealTouchFromSiblingsBelow(ev); } @Override Loading src/com/android/launcher3/Workspace.java +0 −7 Original line number Diff line number Diff line Loading @@ -1175,13 +1175,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator> computeScrollHelper(false); } @Override protected void determineScrollingStart(MotionEvent ev, float touchSlopScale) { if (!isSwitchingState()) { super.determineScrollingStart(ev, touchSlopScale); } } @Override public void announceForAccessibility(CharSequence text) { // Don't announce if apps is on top of us. Loading Loading
quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +2 −9 Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ import android.view.Surface; import android.widget.FrameLayout; import com.android.launcher3.BaseQuickstepLauncher; import com.android.launcher3.Hotseat; import com.android.launcher3.LauncherState; import com.android.launcher3.statehandlers.DepthController; import com.android.launcher3.statemanager.StateManager.StateListener; Loading Loading @@ -177,14 +176,8 @@ public class LauncherRecentsView extends RecentsView<BaseQuickstepLauncher> @Override protected boolean shouldStealTouchFromSiblingsBelow(MotionEvent ev) { if (ev.getAction() == MotionEvent.ACTION_DOWN) { // Allow touches to go through to the hotseat. Hotseat hotseat = mActivity.getHotseat(); boolean touchingHotseat = hotseat.isShown() && mActivity.getDragLayer().isEventOverView(hotseat, ev, this); return !touchingHotseat; } return super.shouldStealTouchFromSiblingsBelow(ev); return mActivity.getStateManager().getState().overviewUi && super.shouldStealTouchFromSiblingsBelow(ev); } @Override Loading
src/com/android/launcher3/Workspace.java +0 −7 Original line number Diff line number Diff line Loading @@ -1175,13 +1175,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator> computeScrollHelper(false); } @Override protected void determineScrollingStart(MotionEvent ev, float touchSlopScale) { if (!isSwitchingState()) { super.determineScrollingStart(ev, touchSlopScale); } } @Override public void announceForAccessibility(CharSequence text) { // Don't announce if apps is on top of us. Loading