Skip to content

Commit

Permalink
Removed "UiThread" annotation from MethodChannel#Result. (flutter#30671)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke authored Jan 4, 2022
1 parent e749ba3 commit a78103c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ public interface Result {
* codec. For instance, if you are using {@link StandardMessageCodec} (default), please see
* its documentation on what types are supported.
*/
@UiThread
void success(@Nullable Object result);

/**
Expand All @@ -213,11 +212,9 @@ public interface Result {
* supported by the codec. For instance, if you are using {@link StandardMessageCodec}
* (default), please see its documentation on what types are supported.
*/
@UiThread
void error(String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails);

/** Handles a call to an unimplemented method. */
@UiThread
void notImplemented();
}

Expand Down

0 comments on commit a78103c

Please sign in to comment.