Fix repetition of already finished access to root folder (AsyncTask) on rotation...
authorDavid A. Velasco <dvelasco@solidgear.es>
Thu, 24 Sep 2015 14:13:58 +0000 (16:13 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Thu, 24 Sep 2015 14:13:58 +0000 (16:13 +0200)
src/com/owncloud/android/authentication/AuthenticatorActivity.java

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