From 6d451bc6f9b5ec9f3c21ff5b6c2b221d9628256c Mon Sep 17 00:00:00 2001 From: Norman Breau Date: Sat, 11 Apr 2020 23:25:20 -0300 Subject: [PATCH] fix: Removed redundent logcat print (#950) The chromium webview will print an informational log already, we don't need to override the method to do what the webview will already. --- .../org/apache/cordova/engine/SystemWebChromeClient.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java index ea1af871..31f0a526 100755 --- a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java +++ b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java @@ -150,14 +150,6 @@ public class SystemWebChromeClient extends WebChromeClient { quotaUpdater.updateQuota(MAX_QUOTA); } - @Override - public boolean onConsoleMessage(ConsoleMessage consoleMessage) - { - if (consoleMessage.message() != null) - LOG.d(LOG_TAG, "%s: Line %d : %s" , consoleMessage.sourceId() , consoleMessage.lineNumber(), consoleMessage.message()); - return super.onConsoleMessage(consoleMessage); - } - @Override /** * Instructs the client to show a prompt to ask the user to set the Geolocation permission state for the specified origin.