Merge "Count launching the same app as an app launch for Quickstep onboarding" into pi-dev
am: 1589a43ece
Change-Id: I1eed7766bb579971377feec3ae05aa94751031f7
This commit is contained in:
committed by
android-build-merger
commit
3a055bfd6a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user