Rename LauncherState QUICK_SWITCH to QUICK_SWITCH_FROM_HOME

Test: compiles
Bug: 265734073
Change-Id: I38e23c62b1eeae6a26db9c388655a8ffceb025b6
This commit is contained in:
Vinit Nayak committed 2023-02-03 10:38:21 -08:00
1 parent 576592575b
commit 82b8aa561a
6 files changed
+25 -20

No files matched your search

@@ -277,7 +277,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 */);