Commit 5045f501 authored by Jidong Chen's avatar Jidong Chen

Merge branch 'flutter_1.5_upgrade_opt' of...

Merge branch 'flutter_1.5_upgrade_opt' of https://github.com/alibaba/flutter_boost into flutter_1.5_upgrade_opt
parents ed0036e9 fb637302
...@@ -121,8 +121,9 @@ public class FlutterViewContainerManager implements IContainerManager { ...@@ -121,8 +121,9 @@ public class FlutterViewContainerManager implements IContainerManager {
} }
int requestCode = 0; int requestCode = 0;
if (urlParams.containsKey("requestCode")) { final Object v = urlParams.remove("requestCode");
requestCode = Integer.valueOf((String)urlParams.remove("requestCode")); if(v != null) {
requestCode = Integer.valueOf(String.valueOf(v));
} }
final String uniqueId = ContainerRecord.genUniqueId(url); final String uniqueId = ContainerRecord.genUniqueId(url);
......
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