Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6707d97e authored by Guojing Yuan's avatar Guojing Yuan Committed by Android (Google) Code Review
Browse files

Merge "Remove OutcomeReceiver.noResult NonNull annotation"

parents db125afd 5fb0d9aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31613,7 +31613,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 {
+1 −1
Original line number Diff line number Diff line
@@ -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