From 93aa4460a530e619bd586213e0bf4a740f54a141 Mon Sep 17 00:00:00 2001 From: Ignacio Solla Date: Thu, 6 Nov 2014 17:16:05 +0000 Subject: [WebView] Remove unused method in CookieManager Change-Id: I3d9d761d6d32eff392bfb568cef10657464ba117 (cherry picked from commit edcfb0f0e74b0cbbd025397ecec6a80cb866854d) --- .../com/android/webview/chromium/CookieManagerAdapter.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'chromium') 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(); -- cgit v1.2.3