File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
java/com/firebase/ui/auth/ui/email Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 29
29
<activity android : theme =" @style/FirebaseUI.Translucent"
30
30
android : name =" com.firebase.ui.auth.ui.idp.IDPSignInContainerActivity" >
31
31
</activity >
32
- <activity android : theme =" @style/FirebaseUI.Translucent"
33
- android : name =" com.firebase.ui.auth.ui.credentials.CredentialsInitActivity" >
34
- </activity >
35
32
<activity android : theme =" @style/FirebaseUI.Translucent"
36
33
android : name =" com.firebase.ui.auth.ui.credentials.ChooseAccountActivity" >
37
34
</activity >
Original file line number Diff line number Diff line change 26
26
import com .firebase .ui .auth .ui .ExtraConstants ;
27
27
import com .firebase .ui .auth .ui .FlowParameters ;
28
28
29
- public class ConfirmRecoverPasswordActivity extends AppCompatBase implements View .OnClickListener {
29
+ public class ConfirmRecoverPasswordActivity extends android .support .v7 .app .AppCompatActivity
30
+ implements View .OnClickListener {
31
+ private ActivityHelper mActivityHelper ;
30
32
31
33
@ Override
32
34
protected void onCreate (Bundle savedInstanceState ) {
33
35
super .onCreate (savedInstanceState );
36
+ mActivityHelper = new ActivityHelper (this , getIntent ());
37
+ // intentionally do not configure the theme on this activity, it is a dialog
38
+
34
39
setContentView (R .layout .confirm_recovery_layout );
35
40
setTitle (R .string .check_your_email );
36
41
String email = getIntent ().getStringExtra (ExtraConstants .EXTRA_EMAIL );
@@ -65,4 +70,8 @@ public static Intent createIntent(
65
70
.putExtra (ExtraConstants .EXTRA_SUCCESS , success )
66
71
.putExtra (ExtraConstants .EXTRA_EMAIL , email );
67
72
}
73
+
74
+ private void finish (int resultCode , Intent intent ) {
75
+ mActivityHelper .finish (resultCode , intent );
76
+ }
68
77
}
You can’t perform that action at this time.
0 commit comments