mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-13 14:41:03 +08:00
Disable debug logging of loadUrl for javascript URLs.
When using LOAD_URL bridge mode, this is far too verbose.
This commit is contained in:
parent
ee34f11c29
commit
9c0e58df8d
@ -477,7 +477,9 @@ public class CordovaWebView extends WebView {
|
|||||||
* @param url
|
* @param url
|
||||||
*/
|
*/
|
||||||
void loadUrlNow(String url) {
|
void loadUrlNow(String url) {
|
||||||
LOG.d(TAG, ">>> loadUrlNow()");
|
if (LOG.isLoggable(LOG.DEBUG) && !url.startsWith("javascript:")) {
|
||||||
|
LOG.d(TAG, ">>> loadUrlNow()");
|
||||||
|
}
|
||||||
super.loadUrl(url);
|
super.loadUrl(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user