code: private void removePreferenceFragmentUnconditionally() {
          if (isPreferenceFragmentShown()) {
              resetTitle();
              hideToolbarNavigationIcon();
              adaptBreadCrumbVisibility();
              FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
              transaction.remove(preferenceFragment);
  
              if (!isSplitScreen()) {
                  transaction.show(navigationFragment);
              }
  
              transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_CLOSE);
              transaction.commit();
              notifyOnPreferenceFragmentHidden(preferenceFragment);
              preferenceFragment = null;
          }
      }
docs: Removes the currently preference fragment, regardless of whether the split screen layout is
  used, or not.