commit | 7d9c18392dc03ef7ac39ac69fe2e0ab25188402a | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Fri Jul 17 19:20:16 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jul 17 19:20:16 2020 +0000 |
tree | 0b84b670151b9571acba4536400fb7350bea479a | |
parent | 66b33c2fdf90e1f39c2a1a15e33dfc2a7fffe909 [diff] | |
parent | c031040a2f966162764a3fb4dc3b9582fd99a278 [diff] |
Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a2f Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301 Change-Id: I59ec7dd9e689d4f3a712364a74f341d730f00f8e
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewWithoutFocusInputConsumer.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewWithoutFocusInputConsumer.java index d972c0f..1c77a05 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewWithoutFocusInputConsumer.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewWithoutFocusInputConsumer.java
@@ -19,7 +19,6 @@ 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 @@ @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.