Skip all stash animations in phone mode
Bug: 362713428 Test: manual Flag: EXEMPT bugfix Change-Id: Ieab234fc9fc96322800e3e1fb4532c270187a0f5
This commit is contained in:
@@ -1019,6 +1019,9 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
*/
|
||||
@Nullable
|
||||
public Animator createApplyStateAnimator(long duration) {
|
||||
if (mActivity.isPhoneMode()) {
|
||||
return null;
|
||||
}
|
||||
return mStatePropertyHolder.createSetStateAnimator(mState, duration);
|
||||
}
|
||||
|
||||
@@ -1064,10 +1067,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