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

Commit 80e6e29b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use light scrim when the wallpaper supports it"

parents 799de92e ba2b48ab
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1725,7 +1725,8 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
            if (!(mBackgroundDrawable instanceof ScrimDrawable)) {
            if (!(mBackgroundDrawable instanceof ScrimDrawable)) {
                return;
                return;
            }
            }
            ((ScrimDrawable) mBackgroundDrawable).setColor(Color.BLACK, animate);
            ((ScrimDrawable) mBackgroundDrawable).setColor(colors.supportsDarkText() ? Color.WHITE
                    : Color.BLACK, animate);
            View decorView = getWindow().getDecorView();
            View decorView = getWindow().getDecorView();
            if (colors.supportsDarkText()) {
            if (colors.supportsDarkText()) {
                decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR |
                decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR |