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 c13f82d2be..9949167a7c 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 @@ -173,8 +173,10 @@ public class MethodChannel { *
Any uncaught exception thrown by this method will be caught by the channel implementation * and logged, and an error result will be sent back to Flutter. * - *
The handler is called on the platform thread (Android main thread). For more details see
- * Threading in
+ * The handler is called on the platform thread (Android main thread) by default, or
+ * otherwise on the thread specified by the {@link BinaryMessenger.TaskQueue} provided to the
+ * associated {@link MethodChannel} when it was created. See also Threading in
* the Flutter Engine.
*
* @param call A {@link MethodCall}.
@@ -190,10 +192,7 @@ public class MethodChannel {
* Flutter methods provide implementations of this interface for handling results received from
* Flutter.
*
- * All methods of this class must be called on the platform thread (Android main thread). For
- * more details see Threading in the
- * Flutter Engine.
+ * All methods of this class can be invoked on any thread.
*/
public interface Result {
/**