summaryrefslogtreecommitdiff
path: root/core/java/android/app/RecoverableSecurityException.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2017-05-02 13:32:27 -0700
committerBen Lin <linben@google.com>2017-05-02 13:35:13 -0700
commitdac516ef326e9849d1fef06b314053e4d2081284 (patch)
tree3c6ee4500c7b5599d4054f3f04bb48074afdd5c8 /core/java/android/app/RecoverableSecurityException.java
parentba9b2ce254e507fe1fa51194236b9e41562fc91b (diff)
Remove snippet regarding ContentProvider#notifyChange in documentation.
For ContentProvider and DocumentsProvider, throwing an exception in their query methods will result in no Cursor returned to the remote side. Without a cursor, there is no way to listen in on changes. Removing the part regarding notifyChange since there's no established paradigm on which URI to listen/notify changes on. Test: Documentation change only. Bug: 37876119 Change-Id: I0739794a1e8182918758ba953251ed9a3268f227
Diffstat (limited to 'core/java/android/app/RecoverableSecurityException.java')
-rw-r--r--core/java/android/app/RecoverableSecurityException.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/java/android/app/RecoverableSecurityException.java b/core/java/android/app/RecoverableSecurityException.java
index a503a46a29dc..6747004e8186 100644
--- a/core/java/android/app/RecoverableSecurityException.java
+++ b/core/java/android/app/RecoverableSecurityException.java
@@ -76,10 +76,7 @@ public final class RecoverableSecurityException extends SecurityException implem
* {@link Activity#setResult(int)} before finishing to
* communicate the final status of the recovery. For example,
* apps that observe {@link Activity#RESULT_OK} may choose to
- * immediately retry their operation. If this exception was
- * thrown from a {@link ContentProvider}, you should also send
- * any relevant {@link ContentResolver#notifyChange} events to
- * trigger reloading of data.
+ * immediately retry their operation.
*/
public RecoverableSecurityException(Throwable cause, CharSequence userMessage,
RemoteAction userAction) {