浏览代码

Fix repetition of already finished access to root folder (AsyncTask) on rotation, in log-in view

David A. Velasco 9 年之前
父节点
当前提交
c8c3e84268
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 1 - 0
src/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -1373,6 +1373,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
     public void onAuthenticatorTaskCallback(RemoteOperationResult result) {
         mWaitingForOpId = Long.MAX_VALUE;
         dismissDialog(WAIT_DIALOG_TAG);
+        mAsyncTask = null;
 
         if (result.isSuccess()) {
             Log_OC.d(TAG, "Successful access - time to save the account");