use of com.firebase.ui.auth.FirebaseAuthAnonymousUpgradeException in project FirebaseUI-Android by firebase.
the class GenericIdpSignInHandler method handleMergeFailure.
protected void handleMergeFailure(@NonNull AuthCredential credential) {
IdpResponse failureResponse = new IdpResponse.Builder().setPendingCredential(credential).build();
setResult(Resource.forFailure(new FirebaseAuthAnonymousUpgradeException(ErrorCodes.ANONYMOUS_UPGRADE_MERGE_CONFLICT, failureResponse)));
}
Aggregations