Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9df156fe authored by Sunny Goyal's avatar Sunny Goyal Committed by Automerger Merge Worker
Browse files

Merge "Preventing disambiguation screen when swiping up" into...

Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a am: 7d9c1839

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301

Change-Id: I70a8da9b17230c4db7145d6fd85c2471755be338
parents e656de0e 7d9c1839
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ import static com.android.launcher3.logging.StatsLogManager.LAUNCHER_STATE_HOME;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_HOME_GESTURE;

import android.content.Context;
import android.content.Intent;
import android.graphics.PointF;
import android.view.MotionEvent;

@@ -80,9 +79,7 @@ public class OverviewWithoutFocusInputConsumer implements InputConsumer,

    @Override
    public void onSwipeUp(boolean wasFling, PointF finalVelocity) {
        mContext.startActivity(new Intent(Intent.ACTION_MAIN)
                .addCategory(Intent.CATEGORY_HOME)
                .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
        mContext.startActivity(mGestureState.getHomeIntent());
        ActiveGestureLog.INSTANCE.addLog("startQuickstep");
        BaseActivity activity = BaseDraggingActivity.fromContext(mContext);
        int pageIndex = -1; // This number doesn't reflect workspace page index.