Use loadUrl instead of loadData
Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
parent
cd86ed3877
commit
52c136439e
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ public class ReCaptchaActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
// Navigate to blank page (unloads youtube to prevent background playback)
|
||||
recaptchaBinding.reCaptchaWebView.loadData("", "text/html", null);
|
||||
recaptchaBinding.reCaptchaWebView.loadUrl("about:blank");
|
||||
|
||||
final Intent intent = new Intent(this, org.schabi.newpipe.MainActivity.class);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
|
|
Loading…
Reference in a new issue