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
This commit is contained in:
Sukesh Ram committed 2024-03-29 16:08:43 -07:00
1 parent 89f974aa56
commit 5c34cf2d06
1 file changed
+2 -1
@@ -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;