Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 100d8b3e authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Fix double task bar

I was too excited when I finally got the repro on my device. After some debugging, I found it (ag/27947503)

Fixes: 350790048
Test: with the change, double task bar is gone.
Flag: EXEMPT bugfix
Change-Id: I969dbf5e9d2c5cc277dfb366858023e6eeff14e2
parent 52f7fc5e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -331,9 +331,10 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
        applyState(/* duration = */ 0);

        // Hide the background while stashed so it doesn't show on fast swipes home
        boolean shouldHideTaskbarBackground = enableScalingRevealHomeAnimation()
        boolean shouldHideTaskbarBackground = mActivity.isPhoneMode() ||
                (enableScalingRevealHomeAnimation()
                        && DisplayController.isTransientTaskbar(mActivity)
                && isStashed();
                        && isStashed());

        mTaskbarBackgroundAlphaForStash.setValue(shouldHideTaskbarBackground ? 0 : 1);