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

Commit 03b433c0 authored by Jonathan Dixon's avatar Jonathan Dixon
Browse files

Fix dumprendertree crash

This is a quick workaround to get tests running again, will follow up with full fix tomorrow.

Bug: 6379925
Change-Id: I96d6e27bfb8f8cd41ec08845ab0fb1e584dbc9da
parent d3101b1d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -167,7 +167,8 @@ public class CookieManager {
     *         file scheme URLs
     */
    public static boolean allowFileSchemeCookies() {
        throw new MustOverrideException();
        // TODO: indirect this via the WebViewFactoryProvider.Statics interface. http://b/6379925
        return CookieManagerClassic.allowFileSchemeCookies();
    }

    /**
@@ -181,6 +182,7 @@ public class CookieManager {
     * {@link WebView} or CookieManager instance has been created.
     */
    public static void setAcceptFileSchemeCookies(boolean accept) {
        throw new MustOverrideException();
        // TODO: indirect this via the WebViewFactoryProvider.Statics interface. http://b/6379925
        CookieManagerClassic.setAcceptFileSchemeCookies(accept);
    }
}