change the Android FlutterEngine class doc around multiple engines (flutter/engine#25575)

This commit is contained in:
xster
2021-04-15 06:14:01 -07:00
committed by GitHub
parent 739cf598e2
commit ae13029ab3

View File

@@ -53,8 +53,9 @@ import java.util.Set;
* interaction.
*
* <p>Multiple {@code FlutterEngine}s may exist, execute Dart code, and render UIs within a single
* Android app. Flutter at this point makes no guarantees on the performance of running multiple
* engines. Use at your own risk. See https://github.com/flutter/flutter/issues/37644 for details.
* Android app. For better memory performance characteristics, construct multiple {@code
* FlutterEngine}s via {@link io.flutter.embedding.engine.FlutterEngineGroup} rather than via {@code
* FlutterEngine}'s constructor directly.
*
* <p>To start running Dart and/or Flutter within this {@code FlutterEngine}, get a reference to
* this engine's {@link DartExecutor} and then use {@link