Merge "Remove a window flag."

This commit is contained in:
Fan Zhang
2019-01-24 19:07:45 +00:00
committed by Android (Google) Code Review

View File

@@ -64,7 +64,6 @@ public class SettingsBaseActivity extends FragmentActivity {
final TypedArray theme = getTheme().obtainStyledAttributes(android.R.styleable.Theme); final TypedArray theme = getTheme().obtainStyledAttributes(android.R.styleable.Theme);
if (!theme.getBoolean(android.R.styleable.Theme_windowNoTitle, false)) { if (!theme.getBoolean(android.R.styleable.Theme_windowNoTitle, false)) {
getWindow().addFlags(LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
requestWindowFeature(Window.FEATURE_NO_TITLE); requestWindowFeature(Window.FEATURE_NO_TITLE);
} }
super.setContentView(R.layout.settings_base_layout); super.setContentView(R.layout.settings_base_layout);