Commit 9918c6d5 authored by 李增强's avatar 李增强

修复flutter_boostbug

parent d37a963b
......@@ -317,7 +317,11 @@ public class FlutterActivityAndFragmentDelegate implements IFlutterViewContainer
+ "requestCode: " + requestCode + "\n"
+ "resultCode: " + resultCode + "\n"
+ "data: " + data);
try {
flutterEngine.getActivityControlSurface().onActivityResult(requestCode, resultCode, data);
} catch (Exception e) {
}
} else {
Log.w(TAG, "onActivityResult() invoked before NewFlutterFragment was attached to an Activity.");
}
......
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