From 5c34cf2d06c1fbc4341c2cb65494d5373ac43d67 Mon Sep 17 00:00:00 2001 From: Sukesh Ram Date: Fri, 29 Mar 2024 16:08:43 -0700 Subject: [PATCH] Fix Taskbar Background Visibility After Entering IME then Overview. Fixed issue whereby taskbar background disappears as expected when the IME switcher is present, but does not appear again if the overview button is pressed after this state. Flag: NONE Test: Manually tested in Felix Landscape mode. Bug: 297472865 Change-Id: If1074b28870c794db8a87dd6cd59f9656dc7c15d --- .../com/android/launcher3/taskbar/TaskbarStashController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java index 3d584642b9..ba8a0741a7 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java @@ -598,7 +598,8 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba ? stashTranslation : 0) .setDuration(duration)); mAnimator.play(mTaskbarImeBgAlpha.animateToValue( - hasAnyFlag(FLAG_STASHED_IN_APP_IME) ? 0 : 1).setDuration(duration)); + (hasAnyFlag(FLAG_STASHED_IN_APP_IME) && isStashed) ? 0 : 1).setDuration( + duration)); mAnimator.addListener(AnimatorListeners.forEndCallback(() -> { mAnimator = null; mIsStashed = isStashed;