fix error after rebase

This commit is contained in:
AndyScherzinger 2017-10-25 15:08:49 +02:00 committed by tobiaskaminsky
parent ec5d2de8bb
commit 1ee78f8c7a
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 8 additions and 1 deletions

View file

@ -2308,4 +2308,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
mIsFirstAuthAttempt = false;
}
}
/**
* For retrieving the clicking on authentication cancel button.
*/
public void doNegativeAuthenticationDialogClick() {
mIsFirstAuthAttempt = true;
}
}

View file

@ -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();