Merge "Rename LauncherState QUICK_SWITCH to QUICK_SWITCH_FROM_HOME" into tm-qpr-dev

This commit is contained in:
Vinit Nayak authored and Android (Google) Code Review committed 2023-02-06 18:59:47 +00:00
commit 05dbd1aab8
6 files changed
+25 -20

No files matched your search

@@ -281,7 +281,7 @@ import java.util.StringJoiner;
boolean committed = !hasAnyFlag(FLAG_TRANSITION_STATE_RUNNING);
playStateTransitionAnim(animatorSet, duration, committed);
if (committed && mLauncherState == LauncherState.QUICK_SWITCH) {
if (committed && mLauncherState == LauncherState.QUICK_SWITCH_FROM_HOME) {
// We're about to be paused, set immediately to ensure seamless handoff.
updateStateForFlag(FLAG_RESUMED, false);
applyState(0 /* duration */);