File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ replaced with:
135135
136136```
137137startActivityForResult(
138- AuthUI.getInstance(this )
138+ AuthUI.getInstance()
139139 .createSignInIntentBuilder()
140140 .setProviders(
141141 AuthUI.EMAIL_PROVIDER,
@@ -149,7 +149,7 @@ Finally, if a terms of service URL and a custom theme are required:
149149
150150```
151151startActivityForResult(
152- AuthUI.getInstance(this )
152+ AuthUI.getInstance()
153153 .createSignInIntentBuilder()
154154 .setProviders(...)
155155 .setTosUrl("https://superapp.example.com/terms-of-service.html")
@@ -210,7 +210,7 @@ completed once all necessary sign-out operations are completed:
210210```
211211public void onClick(View v) {
212212 if (v.getId() == R.id.sign_out) {
213- AuthUI.getInstance(this )
213+ AuthUI.getInstance()
214214 .signOut(this)
215215 .addOnCompleteListener(new OnCompleteListener<Void>() {
216216 public void onComplete(@NonNull Task<Void> task) {
You can’t perform that action at this time.
0 commit comments