File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
auth/src/main/java/com/firebase/ui/auth Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -281,12 +281,7 @@ public Task<Void> signOut(@NonNull Context context) {
281281 Log .w (TAG , "Google Play services not available during signOut" );
282282 }
283283
284- Task <Void > maybeDisableAutoSignIn = Tasks .forResult ((Void ) null );
285-
286- return Tasks .whenAll (
287- signOutIdps (context ),
288- maybeDisableAutoSignIn
289- ).continueWith (task -> {
284+ return signOutIdps (context ).continueWith (task -> {
290285 task .getResult (); // Propagate exceptions if any.
291286 mAuth .signOut ();
292287 return null ;
Original file line number Diff line number Diff line change @@ -56,6 +56,13 @@ public SignInKickstarter(Application application) {
5656 }
5757
5858 public void start () {
59+ if (!TextUtils .isEmpty (getArguments ().emailLink )) {
60+ setResult (Resource .forFailure (new IntentRequiredException (
61+ EmailLinkCatcherActivity .createIntent (getApplication (), getArguments ()),
62+ RequestCodes .EMAIL_FLOW )));
63+ return ;
64+ }
65+
5966 startAuthMethodChoice ();
6067 }
6168
You can’t perform that action at this time.
0 commit comments