瀏覽代碼

Open downloaded files with just click on the list of files

David A. Velasco 12 年之前
父節點
當前提交
5966b38de7
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/com/owncloud/android/ui/activity/FileDisplayActivity.java

+ 3 - 3
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -908,9 +908,9 @@ public class FileDisplayActivity extends FileActivity implements
                     
                 }
                 
-            } else if (file.isDown()) {
-                // details view
-                startDetails(file, onOrientationChange);
+            } else if (file.isDown() && !onOrientationChange) {
+                openFile(file);
+                
             } else {
                 startDownloadForPreview(file, onOrientationChange);
             }