Remove OutcomeReceiver.noResult NonNull annotation
Bug: 239455439 Test: make Change-Id: I3b783a01f6decd646223af884da4b066d9e087fd
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user