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

Commit 5fb0d9aa authored by Guojing Yuan's avatar Guojing Yuan
Browse files

Remove OutcomeReceiver.noResult NonNull annotation

Bug: 239455439

Test: make
Change-Id: I3b783a01f6decd646223af884da4b066d9e087fd
parent 4fa2a054
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {
+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