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

Commit 23e6f38e authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Skip updating taskbar background alpha in phone mode

Based on https://b.corp.google.com/issues/361593564#comment4

Bug: 361593564
Test: manual
Flag: EXEMPT bugfix
Change-Id: I1b23847af707e6fa208345b87953b53f79543bfe
parent fe4cb0de
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -171,6 +171,10 @@ public class TaskbarDragLayerController implements TaskbarControllers.LoggableTa
    }

    private void updateBackgroundAlpha() {
        if (mActivity.isPhoneMode()) {
            return;
        }

        final float bgNavbar = mBgNavbar.value;
        final float bgTaskbar = mBgTaskbar.value * mKeyguardBgTaskbar.value
                * mNotificationShadeBgTaskbar.value * mImeBgTaskbar.value