File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
auth/src/main/java/com/firebase/ui/auth/ui Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 88import android .support .annotation .RestrictTo ;
99import android .support .v7 .app .AppCompatActivity ;
1010
11+ import com .firebase .ui .auth .AuthUI ;
1112import com .firebase .ui .auth .ErrorCodes ;
1213import com .firebase .ui .auth .IdpResponse ;
1314import com .firebase .ui .auth .data .model .FlowParameters ;
@@ -29,11 +30,13 @@ protected static Intent createBaseIntent(
2930 @ NonNull Context context ,
3031 @ NonNull Class <? extends Activity > target ,
3132 @ NonNull FlowParameters flowParams ) {
32- return new Intent (
33+ Intent intent = new Intent (
3334 checkNotNull (context , "context cannot be null" ),
3435 checkNotNull (target , "target activity cannot be null" ))
3536 .putExtra (ExtraConstants .FLOW_BUNDLE ,
3637 checkNotNull (flowParams , "flowParams cannot be null" ).toBundle ());
38+ intent .setExtrasClassLoader (AuthUI .class .getClassLoader ());
39+ return intent ;
3740 }
3841
3942 @ Override
You can’t perform that action at this time.
0 commit comments