Merge "Fine tune background color for dual pane in homepage" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-01 09:34:07 +00:00
committed by Android (Google) Code Review
5 changed files with 93 additions and 10 deletions

View File

@@ -325,7 +325,7 @@ public class SettingsHomepageActivity extends FragmentActivity implements
final Window window = getWindow();
final int color = mIsTwoPane
? Utils.getColorAttrDefaultColor(this, com.android.internal.R.attr.colorSurface)
? getColor(R.color.settings_two_pane_background_color)
: Utils.getColorAttrDefaultColor(this, android.R.attr.colorBackground);
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);