Merge "Skip all stash animations in phone mode" into main
This commit is contained in:
@@ -1052,6 +1052,9 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
*/
|
||||
@Nullable
|
||||
public Animator createApplyStateAnimator(long duration) {
|
||||
if (mActivity.isPhoneMode()) {
|
||||
return null;
|
||||
}
|
||||
return mStatePropertyHolder.createSetStateAnimator(mState, duration);
|
||||
}
|
||||
|
||||
@@ -1097,10 +1100,6 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
|
||||
/** Called when some system ui state has changed. (See SYSUI_STATE_... in QuickstepContract) */
|
||||
public void updateStateForSysuiFlags(long systemUiStateFlags, boolean skipAnim) {
|
||||
if (mActivity.isPhoneMode()) {
|
||||
return;
|
||||
}
|
||||
|
||||
long animDuration = TASKBAR_STASH_DURATION;
|
||||
long startDelay = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user