From 5326772106647cc586c4a5935775cd6555c06c92 Mon Sep 17 00:00:00 2001 From: "Torne (Richard Coles)" Date: Wed, 20 Jun 2018 15:31:49 -0400 Subject: 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) --- core/java/android/webkit/WebView.java | 6 ++---- 1 file 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. -- cgit v1.2.3-59-g8ed1b