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

Commit ff65c9d7 authored by Kristian Monsen's avatar Kristian Monsen Committed by Android Git Automerger
Browse files

am 8b8f7989: Fix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE

* commit '8b8f7989':
  Fix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE
parents 508556a8 8b8f7989
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -294,6 +294,8 @@ public final class CookieManager {
     */
    public void setCookie(String url, String value) {
        if (JniUtil.useChromiumHttpStack()) {
            if (url.indexOf("://") == -1)
                url = "http://" + url;
            nativeSetCookie(url, value);
            return;
        }
@@ -425,6 +427,8 @@ public final class CookieManager {
     */
    public String getCookie(String url) {
        if (JniUtil.useChromiumHttpStack()) {
            if (url.indexOf("://") == -1)
                url = "http://" + url;
            return nativeGetCookie(url);
        }