瀏覽代碼

workaround for system crash

Bartek Przybylski 13 年之前
父節點
當前提交
fc59d2c4f6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java

+ 1 - 1
src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java

@@ -287,7 +287,7 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements
             // Clear intent extra, so rotating the screen will not return us to this directory
             // Clear intent extra, so rotating the screen will not return us to this directory
             getIntent().removeExtra(FileDetailFragment.EXTRA_FILE);
             getIntent().removeExtra(FileDetailFragment.EXTRA_FILE);
         } else {
         } else {
-            mCurrentDir = mFileList.getCurrentFile();
+            mCurrentDir = mStorageManager.getFileByPath("/");
         }
         }
                 
                 
         // Drop-Down navigation and file list restore
         // Drop-Down navigation and file list restore