Commit fe32e194 authored by yangwu.jia's avatar yangwu.jia

Merge branch 'feature/base_flutter_1.12_upgrade' into...

Merge branch 'feature/base_flutter_1.12_upgrade' into feature/base_flutter_1.12_upgrade_for_androidx
parents 7db82c2d 756e7638
...@@ -606,6 +606,7 @@ public class XFlutterView extends FrameLayout { ...@@ -606,6 +606,7 @@ public class XFlutterView extends FrameLayout {
isFlutterUiDisplayed = flutterRenderer.isDisplayingFlutterUi(); isFlutterUiDisplayed = flutterRenderer.isDisplayingFlutterUi();
renderSurface.attachToRenderer(flutterRenderer); renderSurface.attachToRenderer(flutterRenderer);
flutterRenderer.addIsDisplayingFlutterUiListener(flutterUiDisplayListener); flutterRenderer.addIsDisplayingFlutterUiListener(flutterUiDisplayListener);
this.flutterEngine.getPlatformViewsController().attachToView(this);
...@@ -691,7 +692,7 @@ public class XFlutterView extends FrameLayout { ...@@ -691,7 +692,7 @@ public class XFlutterView extends FrameLayout {
// Disconnect the FlutterEngine's PlatformViewsController from the AccessibilityBridge. // Disconnect the FlutterEngine's PlatformViewsController from the AccessibilityBridge.
flutterEngine.getPlatformViewsController().detachAccessibiltyBridge(); flutterEngine.getPlatformViewsController().detachAccessibiltyBridge();
flutterEngine.getPlatformViewsController().detachFromView();
// Disconnect and clean up the AccessibilityBridge. // Disconnect and clean up the AccessibilityBridge.
accessibilityBridge.release(); accessibilityBridge.release();
accessibilityBridge = null; accessibilityBridge = null;
......
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