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:
Norman Breau 2020-04-11 23:25:20 -03:00 committed by GitHub
parent 6402e7b755
commit 6d451bc6f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,14 +150,6 @@ public class SystemWebChromeClient extends WebChromeClient {
quotaUpdater.updateQuota(MAX_QUOTA); 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 @Override
/** /**
* Instructs the client to show a prompt to ask the user to set the Geolocation permission state for the specified origin. * Instructs the client to show a prompt to ask the user to set the Geolocation permission state for the specified origin.