소스 검색

Merge pull request #4687 from nextcloud/account-cleanup-upload-files-activity

Remove onAccountSet from UploadFilesActivity
Tobias Kaminsky 5 년 전
부모
커밋
16cc46f4ed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java

+ 2 - 2
src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java

@@ -677,8 +677,8 @@ public class UploadFilesActivity extends FileActivity implements
     }
 
     @Override
-    protected void onAccountSet(boolean stateWasRecovered) {
-        super.onAccountSet(stateWasRecovered);
+    protected void onStart() {
+        super.onStart();
         if (getAccount() != null) {
             if (!mAccountOnCreation.equals(getAccount())) {
                 setResult(RESULT_CANCELED);