diff options
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/preference/PreferenceActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/preference/PreferenceActivity.java b/core/java/android/preference/PreferenceActivity.java index 9bfa8c0..09ff7be 100644 --- a/core/java/android/preference/PreferenceActivity.java +++ b/core/java/android/preference/PreferenceActivity.java @@ -1083,6 +1083,12 @@ public abstract class PreferenceActivity extends ListActivity implements } return; } + if (mSinglePane) { + mFragmentBreadCrumbs.setVisibility(View.GONE); + // Hide the breadcrumb section completely for single-pane + View bcSection = findViewById(com.android.internal.R.id.breadcrumb_section); + if (bcSection != null) bcSection.setVisibility(View.GONE); + } mFragmentBreadCrumbs.setMaxVisible(2); mFragmentBreadCrumbs.setActivity(this); } |
