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

Commit 0ac81cb7 authored by Hector Dearman's avatar Hector Dearman
Browse files

Removes bad comment from CookieManager

A change that made the setCookie() docs say setCookie rejected
session cookies was introduced here
https://googleplex-android-review.git.corp.google.com
/#/c/166946/3/core/java/android/webkit/CookieManager.java
and looks like it was just a mistaken rephrasing of the original docs.

This change removes that comment from the current docs.

Bug: 14379829
Change-Id: I36ae708f55faf424424ea18f75c89872e7c71312
parent 2ac99791
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -70,8 +70,7 @@ public class CookieManager {
     /**
     * Sets a cookie for the given URL. Any existing cookie with the same host,
     * path and name will be replaced with the new cookie. The cookie being set
     * must not have expired and must not be a session cookie, otherwise it
     * will be ignored.
     * will be ignored if it is expired.
     *
     * @param url the URL for which the cookie is set
     * @param value the cookie as a string, using the format of the 'Set-Cookie'