Revert "Make subsettings display edge-to-edge"
This reverts commit c2a85a374d
.
Bug: 132672399
Bug: 132182711
Test: n/a
Reason for revert: b/132672399
Change-Id: Icb34ae5b16b7a32215fe2c1a5f0d0d028c91b2ca
This commit is contained in:
@@ -66,12 +66,7 @@ public class SettingsBaseActivity extends FragmentActivity {
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
}
|
||||
super.setContentView(R.layout.settings_base_layout);
|
||||
final View decorView = getWindow().getDecorView();
|
||||
|
||||
decorView.setSystemUiVisibility(
|
||||
decorView.getSystemUiVisibility()
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||
final Toolbar toolbar = findViewById(R.id.action_bar);
|
||||
if (theme.getBoolean(android.R.styleable.Theme_windowNoTitle, false)) {
|
||||
toolbar.setVisibility(View.GONE);
|
||||
|
Reference in New Issue
Block a user