Skip to content

Commit

Permalink
Add view mode debugging hint. by @gsantner
Browse files Browse the repository at this point in the history
  • Loading branch information
gsantner committed Dec 4, 2021
1 parent 4b228db commit 5b2e12f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
webSettings.setJavaScriptEnabled(true);
webSettings.setDomStorageEnabled(true);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && BuildConfig.IS_TEST_BUILD) {
WebView.setWebContentsDebuggingEnabled(true);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && BuildConfig.IS_TEST_BUILD && BuildConfig.DEBUG) {
WebView.setWebContentsDebuggingEnabled(true); // Inspect on computer chromium browser: chrome://inspect/#devices
}

int intentLineNumber = -1;
Expand Down

0 comments on commit 5b2e12f

Please sign in to comment.