Merge "Use light scrim when the wallpaper supports it"
This commit is contained in:
committed by
Android (Google) Code Review
commit
80e6e29bc2
@@ -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