mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Rename LauncherState QUICK_SWITCH to QUICK_SWITCH_FROM_HOME
Test: compiles Bug: 265734073 Change-Id: I38e23c62b1eeae6a26db9c388655a8ffceb025b6
This commit is contained in:
@@ -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 */);
|
||||
|
||||
Reference in New Issue
Block a user