From 79a651423d6b5b733743ec22cc3aa1c0d8617547 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 17 May 2022 08:53:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/http/CookieStore.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/help/http/CookieStore.kt b/app/src/main/java/io/legado/app/help/http/CookieStore.kt index be94137fa..625f4d1d3 100644 --- a/app/src/main/java/io/legado/app/help/http/CookieStore.kt +++ b/app/src/main/java/io/legado/app/help/http/CookieStore.kt @@ -58,6 +58,7 @@ object CookieStore : CookieManager { val domain = NetworkUtils.getSubDomain(url) appDb.cookieDao.delete(domain) CacheManager.deleteMemory("${domain}_cookie") + android.webkit.CookieManager.getInstance().removeAllCookies(null) } override fun cookieToMap(cookie: String): MutableMap {