File tree 1 file changed +4
-1
lines changed
auth/src/main/java/com/firebase/ui/auth/ui
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 8
8
import android .support .annotation .RestrictTo ;
9
9
import android .support .v7 .app .AppCompatActivity ;
10
10
11
+ import com .firebase .ui .auth .AuthUI ;
11
12
import com .firebase .ui .auth .ErrorCodes ;
12
13
import com .firebase .ui .auth .IdpResponse ;
13
14
import com .firebase .ui .auth .data .model .FlowParameters ;
@@ -29,11 +30,13 @@ protected static Intent createBaseIntent(
29
30
@ NonNull Context context ,
30
31
@ NonNull Class <? extends Activity > target ,
31
32
@ NonNull FlowParameters flowParams ) {
32
- return new Intent (
33
+ Intent intent = new Intent (
33
34
checkNotNull (context , "context cannot be null" ),
34
35
checkNotNull (target , "target activity cannot be null" ))
35
36
.putExtra (ExtraConstants .FLOW_BUNDLE ,
36
37
checkNotNull (flowParams , "flowParams cannot be null" ).toBundle ());
38
+ intent .setExtrasClassLoader (AuthUI .class .getClassLoader ());
39
+ return intent ;
37
40
}
38
41
39
42
@ Override
You can’t perform that action at this time.
0 commit comments