summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2018-06-20 15:31:49 -0400
committerRichard Coles <torne@google.com>2018-08-13 21:30:34 +0000
commit5326772106647cc586c4a5935775cd6555c06c92 (patch)
tree98f9825976ba820ea61b670a657de3509723d99d /core/java/android/webkit/WebView.java
parent8cb78fcb1ef1f196b36f841bc5c04288f5b6299f (diff)
Update WebView#clearClientCertPreferences docs.
Remove the reference to the specific ACTION_STORAGE_CHANGED intent as other intents are used instead on newer OS versions; just note that it's cleared automatically when the keychain is updated and don't specify the exact mechanism. Change-Id: Ic677832a1384e0eb2498d06e7aa34507fd2e7278 Fixes: 30371615 Test: make offline-sdk-docs (cherry picked from commit 01eb1282138b8c06351efa7e91baac6f98c54660)
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 3452b0cc3ddf..9371342ae1a0 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -41,7 +41,6 @@ import android.os.Message;
import android.os.RemoteException;
import android.os.StrictMode;
import android.print.PrintDocumentAdapter;
-import android.security.KeyChain;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseArray;
@@ -1419,9 +1418,8 @@ public class WebView extends AbsoluteLayout
/**
* Clears the client certificate preferences stored in response
* to proceeding/cancelling client cert requests. Note that WebView
- * automatically clears these preferences when it receives a
- * {@link KeyChain#ACTION_STORAGE_CHANGED} intent. The preferences are
- * shared by all the WebViews that are created by the embedder application.
+ * automatically clears these preferences when the system keychain is updated.
+ * The preferences are shared by all the WebViews that are created by the embedder application.
*
* @param onCleared A runnable to be invoked when client certs are cleared.
* The runnable will be called in UI thread.