Skip to content

Commit a78103c

Browse files
authored
Removed "UiThread" annotation from MethodChannel#Result. (#30671)
1 parent e749ba3 commit a78103c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

shell/platform/android/io/flutter/plugin/common/MethodChannel.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ public interface Result {
201201
* codec. For instance, if you are using {@link StandardMessageCodec} (default), please see
202202
* its documentation on what types are supported.
203203
*/
204-
@UiThread
205204
void success(@Nullable Object result);
206205

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

219217
/** Handles a call to an unimplemented method. */
220-
@UiThread
221218
void notImplemented();
222219
}
223220

0 commit comments

Comments
 (0)