Source:
public void onSocialChanged(OnSocialChanged event) { if (event.isError()) { AppLog.e(T.API, "SignupGoogleFragment.onSocialChanged: " + event.error.type + " - " + event.error.message); switch (event.error.type) { case TWO_STEP_ENABLED: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - two step authentication"); mAnalyticsListener.trackSignupSocialToLogin(); mLoginListener.showSignupToLoginMessage(); PushSocialPayload payload = new PushSocialPayload(mIdToken, SERVICE_TYPE_GOOGLE); AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - two step authentication - dispatching " + "pushSocialLoginAction"); mDispatcher.dispatch(AccountActionBuilder.newPushSocialLoginAction(payload)); break; case USER_EXISTS: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - user already exists"); handleUserExists(); break; case SMS_CODE_THROTTLED: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - sms code throttled"); showError(getString(R.string.login_error_sms_throttled)); break; default: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - unknown"); showError(getString(R.string.login_error_generic)); break; } } else if (event.requiresTwoStepAuth || "sms".equals(event.notificationSent)) { AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - 2fa required"); mAnalyticsListener.trackSignupSocialToLogin(); mLoginListener.needs2faSocial(mGoogleEmail, event.userId, event.nonceAuthenticator, event.nonceBackup, event.nonceSms); finishSignUp(); } else { AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - shouldn't happen - google sign in success"); handleUserExists(); } }

Target:
public void onSocialChanged(OnSocialChanged event) { if (event.isError()) { AppLog.e(T.API, "SignupGoogleFragment.onSocialChanged: " + event.error.type + " - " + event.error.message); switch (event.error.type) { case TWO_STEP_ENABLED: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - two step authentication"); mAnalyticsListener.trackSignupSocialToLogin(); mLoginListener.showSignupToLoginMessage(); PushSocialPayload payload = new PushSocialPayload(mIdToken, SERVICE_TYPE_GOOGLE); AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged error - two step authentication - dispatching " + "pushSocialLoginAction"); mDispatcher.dispatch(AccountActionBuilder.newPushSocialLoginAction(payload)); break; case USER_EXISTS: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - user already exists"); loginViaSocialAccount(); break; case SMS_CODE_THROTTLED: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - sms code throttled"); showError(getString(R.string.login_error_sms_throttled)); break; default: AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - error - unknown"); showError(getString(R.string.login_error_generic)); break; } } else if (event.requiresTwoStepAuth || Login2FaFragment.TWO_FACTOR_TYPE_SMS.equals(event.notificationSent)) { AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - 2fa required"); mAnalyticsListener.trackSignupSocialToLogin(); mLoginListener.needs2faSocial(mGoogleEmail, event.userId, event.nonceAuthenticator, event.nonceBackup, event.nonceSms); finishFlow(); } else { AppLog.d(T.MAIN, "GOOGLE SIGNUP: onSocialChanged - google login success"); loginViaSocialAccount(); } }