am 050c552f: Fix CookieSyncManager for WebViewClassic
* commit '050c552f096a6f8f2283162edcb9c6b015cfb3dd': 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