Fix falling tapl tests

Fix the root cause of falling tests.

Bug: 359277238
Flag: TEST_ONLY
Test: TaplTestsQuickstep,TaplTestPersistentTaskbar
Change-Id: I1e3138e26d0ab253dff7a64cbb3253c220a7db1a
This commit is contained in:
mpodolian committed 2024-09-07 09:13:53 -07:00
1 parent 9074e19dad
commit 39383dd5b3
5 files changed
+9 -9

No files matched your search

@@ -463,7 +463,8 @@ public class TaskbarLauncherStateController {
controllers.bubbleStashController.setBubblesShowingOnOverview(onOverview);
});
mControllers.taskbarStashController.updateStateForFlag(FLAG_IN_OVERVIEW,
TaskbarStashController stashController = mControllers.taskbarStashController;
stashController.updateStateForFlag(FLAG_IN_OVERVIEW,
mLauncherState == LauncherState.OVERVIEW);
AnimatorSet animatorSet = new AnimatorSet();
@@ -495,8 +496,6 @@ public class TaskbarLauncherStateController {
public void onAnimationStart(Animator animation) {
mIsAnimatingToLauncher = isInLauncher;
TaskbarStashController stashController =
mControllers.taskbarStashController;
if (DEBUG) {
Log.d(TAG, "onAnimationStart - FLAG_IN_APP: " + !isInLauncher);
}
@@ -512,6 +511,8 @@ public class TaskbarLauncherStateController {
// Handle closing open popups when going home/overview
handleOpenFloatingViews = true;
} else {
stashController.applyState();
}
if (handleOpenFloatingViews && isInLauncher) {