Commit b0ebe6e7 authored by ColdPaleLight's avatar ColdPaleLight Committed by GitHub

Merge pull request #274 from dzchen/patch-1

Update BoostFlutterActivity.java
parents 5890655f 415c0c6f
......@@ -157,7 +157,13 @@ abstract public class BoostFlutterActivity extends FlutterActivity implements IF
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
FlutterBoostPlugin.onBoostResult(this,requestCode,resultCode,data);
//防止imagepick等回调数据被拦截
if(data.hasExtra(IFlutterViewContainer.RESULT_KEY)){
FlutterBoostPlugin.onBoostResult(this,requestCode,resultCode,data);
}
else {
super.onActivityResult(requestCode, resultCode, data);
}
}
class FlutterContent extends FlutterViewStub {
......
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