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

Commit 13ca868b authored by Jonathan Dixon's avatar Jonathan Dixon Committed by Android Git Automerger
Browse files

am 3bd13f3a: am 6079dbc1: am 050c552f: Fix CookieSyncManager for WebViewClassic

* commit '3bd13f3a':
  Fix CookieSyncManager for WebViewClassic
parents f5d35c9b 3bd13f3a
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();