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

Commit ed586b2c authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Check that alpha is zero instead of transparent color to decide scrim"...

Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev am: 1abc4503
am: a5c11b4a

Change-Id: I1590888f5fc01c2feed7e7af9c0d08ba12d729c4
parents 885e7204 a5c11b4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1311,7 +1311,7 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
            return semiTransparentBarColor;
        } else if ((flags & FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS) == 0) {
            return Color.BLACK;
        } else if (scrimTransparent && barColor == Color.TRANSPARENT) {
        } else if (scrimTransparent && Color.alpha(barColor) == 0) {
            boolean light = (sysuiVis & lightSysuiFlag) != 0;
            return light ? SCRIM_LIGHT : semiTransparentBarColor;
        } else {