From 908354e7fa63130331a35c4aa5301bec2ff72026 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Thu, 7 Feb 2019 19:32:11 -0800 Subject: [PATCH] Fix deprecation warning in SystemCookieManager --- framework/src/org/apache/cordova/engine/SystemCookieManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/src/org/apache/cordova/engine/SystemCookieManager.java b/framework/src/org/apache/cordova/engine/SystemCookieManager.java index 3e5df513..711703b2 100644 --- a/framework/src/org/apache/cordova/engine/SystemCookieManager.java +++ b/framework/src/org/apache/cordova/engine/SystemCookieManager.java @@ -57,6 +57,7 @@ class SystemCookieManager implements ICordovaCookieManager { return cookieManager.getCookie(url); } + @SuppressWarnings("deprecation") public void clearCookies() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { cookieManager.removeAllCookies(null);