* commit '6079dbc1ae0fe0c8c8d642d072514e1ea94d1ac5': Fix CookieSyncManager for WebViewClassic
This commit is contained in:
@@ -89,6 +89,10 @@ public final class CookieSyncManager extends WebSyncManager {
|
||||
if (context == null) {
|
||||
throw new IllegalArgumentException("Invalid context argument");
|
||||
}
|
||||
// TODO: Remove this workaround after webview classic is no longer supported.
|
||||
if (WebViewFactory.getProvider().getClass().getName().contains("WebViewClassic")) {
|
||||
WebViewDatabase.getInstance(context);
|
||||
}
|
||||
|
||||
setGetInstanceIsAllowed();
|
||||
return getInstance();
|
||||
|
||||
Reference in New Issue
Block a user