File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ replaced with:
135
135
136
136
```
137
137
startActivityForResult(
138
- AuthUI.getInstance(this )
138
+ AuthUI.getInstance()
139
139
.createSignInIntentBuilder()
140
140
.setProviders(
141
141
AuthUI.EMAIL_PROVIDER,
@@ -149,7 +149,7 @@ Finally, if a terms of service URL and a custom theme are required:
149
149
150
150
```
151
151
startActivityForResult(
152
- AuthUI.getInstance(this )
152
+ AuthUI.getInstance()
153
153
.createSignInIntentBuilder()
154
154
.setProviders(...)
155
155
.setTosUrl("https://superapp.example.com/terms-of-service.html")
@@ -210,7 +210,7 @@ completed once all necessary sign-out operations are completed:
210
210
```
211
211
public void onClick(View v) {
212
212
if (v.getId() == R.id.sign_out) {
213
- AuthUI.getInstance(this )
213
+ AuthUI.getInstance()
214
214
.signOut(this)
215
215
.addOnCompleteListener(new OnCompleteListener<Void>() {
216
216
public void onComplete(@NonNull Task<Void> task) {
You can’t perform that action at this time.
0 commit comments