Use light scrim when the wallpaper supports it
Test: visual Change-Id: Ica238b4b2810bb33b4677e4214c226b62a79b24b
This commit is contained in:
@@ -1725,7 +1725,8 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
|
||||
if (!(mBackgroundDrawable instanceof ScrimDrawable)) {
|
||||
return;
|
||||
}
|
||||
((ScrimDrawable) mBackgroundDrawable).setColor(Color.BLACK, animate);
|
||||
((ScrimDrawable) mBackgroundDrawable).setColor(colors.supportsDarkText() ? Color.WHITE
|
||||
: Color.BLACK, animate);
|
||||
View decorView = getWindow().getDecorView();
|
||||
if (colors.supportsDarkText()) {
|
||||
decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR |
|
||||
|
||||
Reference in New Issue
Block a user