@@ -2308,4 +2308,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
mIsFirstAuthAttempt = false;
}
+
+ /**
+ * For retrieving the clicking on authentication cancel button.
+ */
+ public void doNegativeAuthenticationDialogClick() {
+ mIsFirstAuthAttempt = true;
+ }
@@ -139,7 +139,7 @@ public class CredentialsDialogFragment extends DialogFragment
} else if (which == AlertDialog.BUTTON_NEGATIVE) {
mWebView.stopLoading();
- ((AuthenticatorActivity)getActivity()).doNegativeAuthenticatioDialogClick();
+ ((AuthenticatorActivity)getActivity()).doNegativeAuthenticationDialogClick();
dialog.dismiss();