workaround for system crash
[pub/Android/ownCloud.git] / src / eu / alefzero / owncloud / ui / activity / FileDisplayActivity.java
index af25107..188537e 100644 (file)
@@ -287,7 +287,7 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements
             // Clear intent extra, so rotating the screen will not return us to this directory\r
             getIntent().removeExtra(FileDetailFragment.EXTRA_FILE);\r
         } else {\r
-            mCurrentDir = mFileList.getCurrentFile();\r
+            mCurrentDir = mStorageManager.getFileByPath("/");\r
         }\r
                 \r
         // Drop-Down navigation and file list restore\r