Removed "UiThread" annotation from MethodChannel#Result. (flutter/engine#30671)

This commit is contained in:
gaaclarke
2022-01-04 13:06:40 -08:00
committed by GitHub
parent 779ae9ffa2
commit 201909edd4

View File

@@ -201,7 +201,6 @@ public class MethodChannel {
* 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);
/**
@@ -213,11 +212,9 @@ public class MethodChannel {
* 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();
}