} } // if that's not a directory -> List its parent if(!directory.isDirectory()){ Log_OC.w(TAG, "You see, that is not a directory -> " + directory.toString()); directory = directory.getParentFile(); } mList.clearChoices(); // by now, only files in the same directory will be kept as selected mAdapter.swapDirectory(directory); if (mDirectory == null || !mDirectory.equals(directory)) { mList.setSelectionFromTop(0, 0); } mDirectory = directory; } /**