Skip to content

Commit e9a3758

Browse files
committed
web content debugging support is now automatic
WebView 113.0.5656.0 and later has web content debugging enabled automatically when the app is debuggable.
1 parent 346f83d commit e9a3758

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,6 @@ protected void onCreate(Bundle savedInstanceState) {
300300

301301
binding.webview.setBackgroundColor(Color.TRANSPARENT);
302302

303-
if (BuildConfig.DEBUG) {
304-
WebView.setWebContentsDebuggingEnabled(true);
305-
}
306-
307303
final WebSettings settings = binding.webview.getSettings();
308304
settings.setAllowContentAccess(false);
309305
settings.setAllowFileAccess(false);

0 commit comments

Comments
 (0)