From 0ac81cb785241f49abc39ba639abddc33b891971 Mon Sep 17 00:00:00 2001 From: Hector Dearman Date: Wed, 30 Apr 2014 18:33:18 +0100 Subject: 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 --- core/java/android/webkit/CookieManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/java') diff --git a/core/java/android/webkit/CookieManager.java b/core/java/android/webkit/CookieManager.java index 2b75d83..abed082 100644 --- a/core/java/android/webkit/CookieManager.java +++ b/core/java/android/webkit/CookieManager.java @@ -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' -- cgit v1.1