소스 검색

revert this, although it will get removed by a different PR

tobiasKaminsky 8 년 전
부모
커밋
39bf45da64
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

+ 4 - 0
src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

@@ -250,6 +250,10 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
     public void onResume() {
         super.onResume();
 
+        if (remoteOperationAsyncTask != null) {
+            remoteOperationAsyncTask.cancel(true);
+        }
+
         if (getActivity() != null) {
             AnalyticsUtils.setCurrentScreenName(getActivity(), SCREEN_NAME, TAG);
         }