Commit ec7c6e0b authored by justin's avatar justin

捕获异常

parent d2f628fe
......@@ -501,8 +501,12 @@ public class XFlutterView extends FrameLayout {
if (!isAttachedToFlutterEngine()) {
return super.onHoverEvent(event);
}
boolean handled = accessibilityBridge.onAccessibilityHoverEvent(event);
boolean handled=false;
try{
handled = accessibilityBridge.onAccessibilityHoverEvent(event);
}catch (Throwable e){
Log.e(TAG, "onConfigurationChanged error ");
}
if (!handled) {
// TODO(ianh): Expose hover events to the platform,
// implementing ADD, REMOVE, etc.
......
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