OSDN Git Service

Fix for 10530176 - CookieSyncManager must be created by WebView c'tor
authorJonathan Dixon <joth@google.com>
Thu, 29 Aug 2013 03:29:39 +0000 (20:29 -0700)
committerJonathan Dixon <joth@google.com>
Thu, 29 Aug 2013 03:29:39 +0000 (20:29 -0700)
commit9f9fbc9605b75e6f1bebdf035dd50e37c4e45977
tree1e6d7b721978dca884e6bf3b89d1e5391f5d960c
parent627dd9b584a267b206bace8dc518287fe58b9563
Fix for 10530176 - CookieSyncManager must be created by WebView c'tor

WebViewClassic created the CookieSyncManager instane as a side effect of
starting up its internal WebCoreThread. As this forms part of th API
contract (app doesn't need to call CookieSyncManager.createInstance if
it already made a WebView instance) promote this logic up to the API
layer.

Change-Id: I0e92d97be987dfef90162ad379c79b066aae34e0
core/java/android/webkit/WebView.java