浏览代码

Remove onAccountSet from UploadFilesActivity

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Chris Narkiewicz 5 年之前
父节点
当前提交
f428fb5810
共有 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);