Loading core/java/android/webkit/CookieSyncManager.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -89,6 +89,10 @@ public final class CookieSyncManager extends WebSyncManager { if (context == null) { if (context == null) { throw new IllegalArgumentException("Invalid context argument"); 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(); setGetInstanceIsAllowed(); return getInstance(); return getInstance(); Loading Loading
core/java/android/webkit/CookieSyncManager.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -89,6 +89,10 @@ public final class CookieSyncManager extends WebSyncManager { if (context == null) { if (context == null) { throw new IllegalArgumentException("Invalid context argument"); 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(); setGetInstanceIsAllowed(); return getInstance(); return getInstance(); Loading