diff options
Diffstat (limited to 'chromium')
-rw-r--r-- | chromium/java/com/android/webview/chromium/CookieManagerAdapter.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java b/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java index 44c2258..2dd34a3 100644 --- a/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java +++ b/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java @@ -88,6 +88,12 @@ public class CookieManagerAdapter extends CookieManager { return getCookie(url); } + // TODO(igsolla): remove this override once the WebView apk does not longer need + // to be binary compatibility with the API 21 version of the framework + /** + * IMPORTANT: This override is required for compatibility with the API 21 version of + * {@link CookieManager}. + */ @Override public synchronized String getCookie(WebAddress uri) { return mChromeCookieManager.getCookie(uri.toString()); @@ -133,10 +139,6 @@ public class CookieManagerAdapter extends CookieManager { mChromeCookieManager.flushCookieStore(); } - protected void flushCookieStore() { - flush(); - } - @Override protected boolean allowFileSchemeCookiesImpl() { return mChromeCookieManager.allowFileSchemeCookies(); |