private boolean removePreferenceFragment ( ) { if ( ! isSplitScreen ( ) && isPreferenceFragmentShown ( ) && ! isNavigationHidden ( ) && ! isButtonBarShown ( ) ) { navigationFragment . selectNavigationPreference ( - 1 , null ) ; removePreferenceFragmentUnconditionally ( ) ; selectedPreferenceFragment = null ; selectedPreferenceFragmentArguments = null ; return true ; } return false ; }
Removes the currently shown preference fragment if the split screen layout is not used and the navigation is not hidden .