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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user