workaround for system crash
authorBartek Przybylski <bart.p.pl@gmail.com>
Sun, 17 Jun 2012 10:03:02 +0000 (12:03 +0200)
committerBartek Przybylski <bart.p.pl@gmail.com>
Sun, 17 Jun 2012 10:03:02 +0000 (12:03 +0200)
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