From 201909edd40166da28e3a827f2985c21f438ebe4 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:06:40 -0800 Subject: [PATCH] Removed "UiThread" annotation from MethodChannel#Result. (flutter/engine#30671) --- .../android/io/flutter/plugin/common/MethodChannel.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java index 795bd70ba0..5e187cf94c 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java @@ -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(); }