diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/webkit/WebViewCore.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebViewCore.java b/core/java/android/webkit/WebViewCore.java index 3ca3eaa..0b94dad 100644 --- a/core/java/android/webkit/WebViewCore.java +++ b/core/java/android/webkit/WebViewCore.java @@ -537,6 +537,8 @@ public final class WebViewCore { private native void nativeSendListBoxChoice(int choice); + private native void nativeCloseIdleConnections(); + /* Tell webkit what its width and height are, for the purposes of layout/line-breaking. These coordinates are in document space, which is the same as View coords unless we have zoomed the document @@ -1252,6 +1254,8 @@ public final class WebViewCore { if (!JniUtil.useChromiumHttpStack()) { WebViewWorker.getHandler().sendEmptyMessage( WebViewWorker.MSG_PAUSE_CACHE_TRANSACTION); + } else { + nativeCloseIdleConnections(); } break; |