Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6079dbc1 authored by Jonathan Dixon's avatar Jonathan Dixon Committed by Android Git Automerger
Browse files

am 050c552f: Fix CookieSyncManager for WebViewClassic

* commit '050c552f':
  Fix CookieSyncManager for WebViewClassic
parents 43bd3f24 050c552f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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();