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

Commit ac2792ff 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: I6c5b7a1513db9d90e8e88251a23394b12bfa2960
parents 54be9444 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 {