Do not animate unfolded bar when folded on certain SysUI flag update
Inspired by b/276864833 Test: https://android-build.corp.google.com/builds/abtd/run/L42600030005659107 Bug: 355973871 Flag: com.android.wm.shell.enable_taskbar_on_phones Change-Id: I1c06062a17f147c3252048373eedfa53db356572
This commit is contained in:
1 parent
eeb98c8e75
commit
ab63a991cd
5 files changed
+13
-2
No files matched your search
@@ -1022,6 +1022,10 @@ 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