Remove OutcomeReceiver.noResult NonNull annotation

Bug: 239455439

Test: make
Change-Id: I3b783a01f6decd646223af884da4b066d9e087fd
This commit is contained in:
Guojing Yuan
2022-07-19 20:06:21 +00:00
parent 4fa2a0546f
commit 5fb0d9aa51
2 changed files with 2 additions and 2 deletions

View File

@@ -31610,7 +31610,7 @@ package android.os {
public interface OutcomeReceiver<R, E extends java.lang.Throwable> {
method public default void onError(@NonNull E);
method public void onResult(@NonNull R);
method public void onResult(R);
}
public final class Parcel {

View File

@@ -31,7 +31,7 @@ public interface OutcomeReceiver<R, E extends Throwable> {
* Called when the asynchronous operation succeeds and delivers a result value.
* @param result The value delivered by the asynchronous operation.
*/
void onResult(@NonNull R result);
void onResult(R result);
/**
* Called when the asynchronous operation fails. The mode of failure is indicated by the