-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specifically
Description
Today the methods on MethodChannel are the public API often used by plugin developers and advanced users. There is no indication that these methods are supposed to be called from the UI thread even though the mechanisms they rely on in FlutterJNI.java are marked as such.
Let's mark them as @UiThread such that this is less of a surprise for developers.
Tracked internally at: b/132204137
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specifically