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

Commit e538b2ec authored by android-build-team Robot's avatar android-build-team Robot Committed by android-build-merger
Browse files

Merge "Count launching the same app as an app launch for Quickstep onboarding"...

Merge "Count launching the same app as an app launch for Quickstep onboarding" into pi-dev am: 1589a43e
am: 3a055bfd

Change-Id: I530fc6c84f50d214feec28f81da513838ef2455d
parents 96930e4f 3a055bfd
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@ public class RecentsOnboarding {
    private boolean mOverviewProxyListenerRegistered;
    private boolean mTaskListenerRegistered;
    private boolean mLayoutAttachedToWindow;
    private int mLastTaskId;
    private boolean mHasDismissedSwipeUpTip;
    private boolean mHasDismissedQuickScrubTip;
    private int mNumAppsLaunchedSinceSwipeUpTipDismiss;
@@ -111,14 +110,8 @@ public class RecentsOnboarding {
                hide(true);
                return;
            }
            if (info.id == mLastTaskId) {
                // We only count launches that go to a new task.
                return;
            }
            int activityType = info.configuration.windowConfiguration.getActivityType();
            if (activityType == ACTIVITY_TYPE_STANDARD) {
                mLastTaskId = info.id;

                boolean alreadySeenSwipeUpOnboarding = hasSeenSwipeUpOnboarding();
                boolean alreadySeenQuickScrubsOnboarding = hasSeenQuickScrubOnboarding();
                if (alreadySeenSwipeUpOnboarding && alreadySeenQuickScrubsOnboarding) {