summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-07-14 01:12:45 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-07-14 01:12:45 +0000
commit3180034457674882a7a57612a0e9f773060f632b (patch)
tree98760dbc2bb106f1abe25db5d8ba3b06b556507f
parent53efd60897adbb60beb218d3e3924930a5660a49 (diff)
parentf130c29882bd04f72edff0be87f560d6dbf6fb1e (diff)
downloadLauncher3-3180034457674882a7a57612a0e9f773060f632b.tar.gz
Snap for 6676900 from f130c29882bd04f72edff0be87f560d6dbf6fb1e to rvc-release
Change-Id: Ia9a54139b5b9b819e10e96cb00ddd69a4cf1e322
-rw-r--r--quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/OverviewWithoutFocusInputConsumer.java5
1 files changed, 1 insertions, 4 deletions
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 d972c0f444..1c77a0593d 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.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.