소스 검색

Grant that uploads view shows the correct title always, no matter if entering from notifications

David A. Velasco 9 년 전
부모
커밋
1527cb86fc
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/com/owncloud/android/ui/activity/UploadListActivity.java

+ 5 - 0
src/com/owncloud/android/ui/activity/UploadListActivity.java

@@ -77,6 +77,11 @@ public class UploadListActivity extends FileActivity implements UploadListFragme
 
         setContentView(R.layout.upload_list_layout);
 
+        // this activity has no file really bound, it's for mulitple accounts at the same time; should no inherit
+        // from FileActivity; moreover, some behaviours inherited from FileActivity should be delegated to Fragments;
+        // but that's other story
+        setFile(null);
+
         // Navigation Drawer
         initDrawer();