You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by no...@apache.org on 2020/04/12 02:25:28 UTC

[cordova-android] branch master updated: fix: Removed redundent logcat print (#950)

This is an automated email from the ASF dual-hosted git repository.

normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d451bc  fix: Removed redundent logcat print (#950)
6d451bc is described below

commit 6d451bc6f9b5ec9f3c21ff5b6c2b221d9628256c
Author: Norman Breau <no...@normanbreau.com>
AuthorDate: Sat Apr 11 23:25:20 2020 -0300

    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.
---
 .../src/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 ea1af87..31f0a52 100755
--- a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java
+++ b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java
@@ -151,14 +151,6 @@ public class SystemWebChromeClient extends WebChromeClient {
     }
 
     @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.
      *


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org