Merge "Remove snippet regarding ContentProvider#notifyChange in documentation." into oc-dev

This commit is contained in:
Ben Lin
2017-05-03 02:25:03 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 8 deletions

View File

@@ -56,10 +56,7 @@ public final class AuthenticationRequiredException extends SecurityException imp
* {@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 AuthenticationRequiredException(Throwable cause, PendingIntent userAction) {
super(cause.getMessage());

View File

@@ -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) {