Commit f7f7d96f authored by Luke's avatar Luke Committed by justin

Pick 5fdf44dc

parent a55ea6df
...@@ -208,8 +208,7 @@ class ContainerCoordinator { ...@@ -208,8 +208,7 @@ class ContainerCoordinator {
FlutterBoost.containerManager FlutterBoost.containerManager
?.showContainer(_createContainerSettings(name, params, pageId)); ?.showContainer(_createContainerSettings(name, params, pageId));
// Compatible to accessibility mode on Android. //对无障碍辅助模式的兼容
if (Platform.isAndroid) {
try { try {
final SemanticsOwner owner = final SemanticsOwner owner =
WidgetsBinding.instance.pipelineOwner?.semanticsOwner; WidgetsBinding.instance.pipelineOwner?.semanticsOwner;
...@@ -219,7 +218,6 @@ class ContainerCoordinator { ...@@ -219,7 +218,6 @@ class ContainerCoordinator {
} catch (e) { } catch (e) {
assert(false, e.toString()); assert(false, e.toString());
} }
}
performContainerLifeCycle( performContainerLifeCycle(
_createContainerSettings(name, params, pageId), _createContainerSettings(name, params, pageId),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment