mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-03 16:03:08 +08:00
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.
This commit is contained in:
parent
6402e7b755
commit
6d451bc6f9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user