You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2019/04/02 20:27:27 UTC

[cordova-android] branch master updated: Fix deprecation warning in SystemCookieManager

This is an automated email from the ASF dual-hosted git repository.

dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/master by this push:
     new 908354e  Fix deprecation warning in SystemCookieManager
     new 516c341  Merge pull request #710 from dpogue/cookie-deprecation
908354e is described below

commit 908354e7fa63130331a35c4aa5301bec2ff72026
Author: Darryl Pogue <da...@dpogue.ca>
AuthorDate: Thu Feb 7 19:32:11 2019 -0800

    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 3e5df51..711703b 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);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org