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

Commit a5c11b4a 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" into qt-dev

am: 1abc4503

Change-Id: I0c9ef5ebce04c7a477b55570c4b39f71e8bba14d
parents 0ef82ad0 1abc4503
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 {