diff options
author | Hector Dearman <hjd@google.com> | 2014-05-22 13:50:15 +0100 |
---|---|---|
committer | Hector Dearman <hjd@google.com> | 2014-07-01 13:12:29 +0100 |
commit | a70d1d99de6cdadd68176cb849c02d56b8536021 (patch) | |
tree | 611b8f96ea571da1627f8a8d3ee4f2e6190cc944 /api/current.txt | |
parent | c7400b0ce66e916cf8be239c26cd5acbd15ef745 (diff) | |
download | frameworks_base-a70d1d99de6cdadd68176cb849c02d56b8536021.zip frameworks_base-a70d1d99de6cdadd68176cb849c02d56b8536021.tar.gz frameworks_base-a70d1d99de6cdadd68176cb849c02d56b8536021.tar.bz2 |
Deprecate the Cookie Sync Manager
The CookieSyncManager is largely useless as the WebView
automatically syncs cookies every 30s (whether you like it
or not). The one method which needs to be saved is sync,
there is no other way to force a sync without this.
We move sync to the CookieManager and rename it to flush
for greater consistency.
Bug: 11060034
Change-Id: I8a14998020eea54f196fc6ed845b09ed69cfd447
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index 2653e54..f9ba781 100644 --- a/api/current.txt +++ b/api/current.txt @@ -35245,6 +35245,7 @@ package android.webkit { method public synchronized boolean acceptCookie(); method public synchronized boolean acceptThirdPartyCookies(android.webkit.WebView); method public static boolean allowFileSchemeCookies(); + method public void flush(); method public java.lang.String getCookie(java.lang.String); method public static synchronized android.webkit.CookieManager getInstance(); method public synchronized boolean hasCookies(); @@ -35260,10 +35261,10 @@ package android.webkit { method public void setCookie(java.lang.String, java.lang.String, android.webkit.ValueCallback<java.lang.Boolean>); } - public final class CookieSyncManager extends android.webkit.WebSyncManager { + public final deprecated class CookieSyncManager extends android.webkit.WebSyncManager { method public static synchronized android.webkit.CookieSyncManager createInstance(android.content.Context); method public static synchronized android.webkit.CookieSyncManager getInstance(); - method protected void syncFromRamToFlash(); + method protected deprecated void syncFromRamToFlash(); field protected static final java.lang.String LOGTAG = "websync"; field protected android.webkit.WebViewDatabase mDataBase; field protected android.os.Handler mHandler; @@ -35616,7 +35617,7 @@ package android.webkit { method public abstract void updateQuota(long); } - abstract class WebSyncManager implements java.lang.Runnable { + abstract deprecated class WebSyncManager implements java.lang.Runnable { ctor protected WebSyncManager(android.content.Context, java.lang.String); method protected void onSyncInit(); method public void resetSync(); |