Rename LauncherState QUICK_SWITCH to QUICK_SWITCH_FROM_HOME

Test: compiles
Bug: 265734073
Change-Id: I38e23c62b1eeae6a26db9c388655a8ffceb025b6
This commit is contained in:
Vinit Nayak
2023-02-03 10:15:50 -08:00
parent 576592575b
commit 82b8aa561a
6 changed files with 25 additions and 20 deletions

View File

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