Buggy code:
@ Override protected void onStop ( ) { } @ SuppressWarnings ( "deprecation" ) public boolean isNetworkConnected ( ) { } private void submitStats ( ) { } public void handleRefreshMedia ( final String path , boolean keepChecking , final int retries ) { } private void handleNfc ( ) { } public void handleMediaReceiver ( ) { } @ Override protected void onPostCreate ( Bundle savedInstanceState ) { } @ Override public void onDestroy ( ) { } public ActionMode getActionMode ( ) { } public void setActionMode ( ActionMode mode ) { } public void setViewPagerLocked ( boolean locked ) { } public OpenClipboard getClipboard ( ) { } public void addHoldingFile ( OpenPath path ) { } public void clearHoldingFiles ( ) { } public static final OpenPathMerged getPhotoParent ( ) { } public static final OpenPathMerged getVideoParent ( ) { } public static final OpenCursor getMusicParent ( ) { } public static final OpenSmartFolder getDownloadParent ( ) { } private boolean findCursors ( ) { } private void refreshCursors ( ) { } public void ensureCursorCache ( ) { } public boolean toggleBookmarks ( boolean visible ) { } public boolean toggleBookmarks ( boolean visible , boolean auto ) { } public boolean toggleBookmarks ( ) { } public void refreshOperations ( ) { } public void refreshBookmarks ( ) { } public ContentFragment getDirContentFragment ( Boolean activate ) { } public ContentFragment getDirContentFragment ( Boolean activate , OpenPath path ) { } public OpenFragment getSelectedFragment ( ) { } public void updateTitle ( CharSequence cs ) { } private void saveOpenedEditors ( ) { } private void restoreOpenedEditors ( ) { } public void closeFragment ( final OpenFragment frag ) { } public boolean editFile ( OpenPath path ) { } public boolean editFile ( OpenPath path , boolean batch ) { } @ Override public void startActivity ( Intent intent ) { } public void goHome ( ) { } public static int getVisibleChildCount ( ViewGroup parent ) { } private boolean shouldFlushMenu ( Menu menu ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } public boolean onCreateOptionsMenu ( Menu menu , boolean fromSystem ) { } private void handleSearchMenu ( Menu menu ) { } public boolean onPrepareOptionsMenu ( Menu menu ) { } @ SuppressLint ( "ParserError" ) public boolean onOptionsItemSelected ( MenuItem item ) { } private void showExitDialog ( ) { } @ Override public void onClick ( View v ) { } public boolean onClick ( int id , MenuItem item , View from ) { } private void showLogFrag ( OpenFragment frag , boolean toggle ) { } private void debugTest ( ) { } public boolean isSinglePane ( ) { } private void onClipboardDropdown ( View anchor ) { } public OpenPath getCurrentPath ( ) { } public void changeViewMode ( int newView , boolean doSet ) { } public void showPreferences ( OpenPath path ) { } @ Override public boolean onKeyUp ( int keyCode , KeyEvent event ) { } @ Override public void onWindowFocusChanged ( boolean hasFocus ) { } protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { } public void goBack ( ) { } @ Override public void onBackPressed ( ) { } public void onBackStackChanged ( ) { int i = fragmentManager . getBackStackEntryCount ( ) ; final Boolean isBack = i < ( mLastBackIndex ) ; BackStackEntry entry = null ; if ( i > 0 ) entry = fragmentManager . getBackStackEntryAt ( ( i - 1 ) ) ; Logger . LogDebug ( ( ( "Back<seq2seq4repair_space>Stack<seq2seq4repair_space>" + i ) + ( entry != null ? ":<seq2seq4repair_space>" + ( entry . getBreadCrumbTitle ( ) ) : "" ) ) ) ; if ( isBack ) { if ( i > 0 ) { if ( ( entry != null ) && ( ( entry . getBreadCrumbTitle ( ) ) != null ) ) { try { mLastPath = FileManager . getOpenCache ( entry . getBreadCrumbTitle ( ) . toString ( ) ) ; } catch ( Exception e ) { Logger . LogError ( "Couldn't<seq2seq4repair_space>get<seq2seq4repair_space>back<seq2seq4repair_space>cache." , e ) ; } if ( ( mLastPath ) != null ) { Logger . LogDebug ( ( "last<seq2seq4repair_space>path<seq2seq4repair_space>set<seq2seq4repair_space>to<seq2seq4repair_space>" + ( mLastPath . getPath ( ) ) ) ) ; <START_BUG> changePath ( mLastPath , false ) ; <END_BUG> } else showExitDialog ( ) ; } else { fragmentManager . popBackStack ( ) ; } } else { try { showExitDialog ( ) ; } catch ( Exception e ) { Logger . LogWarning ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>show<seq2seq4repair_space>exit<seq2seq4repair_space>dialog." , e ) ; } } } mLastBackIndex = i ; } private void changePath ( OpenPath path , Boolean addToStack ) { } private void changePath ( OpenPath path , Boolean addToStack , Boolean force ) { } private String getFragmentPaths ( List < OpenFragment > frags ) { } private String getPagerTitles ( ) { } @ SuppressWarnings ( "deprecation" ) public void setLights ( Boolean on ) { } public void onChangeLocation ( OpenPath path ) { } public static final FileManager getFileManager ( ) { } public static final EventHandler getEventHandler ( ) { } public class EnsureCursorCacheTask extends AsyncTask < OpenPath , Integer , Integer > { @ Override protected Integer doInBackground ( OpenPath ... params ) { } } public void setOnClicks ( int ... ids ) { } public static String getVolumeName ( String sPath2 ) { } public boolean onLongClick ( View v ) { } public void addBookmark ( OpenPath file ) { } public void removeBookmark ( OpenPath file ) { } public static void setOnBookMarkAddListener ( OpenInterfaces . OnBookMarkChangeListener bookmarkListener ) { } public class PeekAtGrandKidsTask extends AsyncTask < OpenPath , Integer , Integer > { @ Override protected void onPreExecute ( ) { } @ Override protected Integer doInBackground ( OpenPath ... params ) { } } public OpenPath getLastPath ( ) { }

Fix:
changePath ( mLastPath , false , true ) ;