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

Commit 436f8784 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

3/N The road to Material NEXT (scrim color events)

Reload scrim colors when overlays are applied.
They drive the system theme.

Bug: 173561906
Test: manual
Change-Id: I1b6e446e6f67c05f391f48e305f006dbdb39caf5
parent 37658e2b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -235,6 +235,11 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, Dump
                ScrimController.this.onThemeChanged();
            }

            @Override
            public void onOverlayChanged() {
                ScrimController.this.onThemeChanged();
            }

            @Override
            public void onUiModeChanged() {
                ScrimController.this.onThemeChanged();