Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yjfnypeu committed Aug 25, 2017
1 parent 283ba20 commit c006038
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ protected void onCreate(Bundle savedInstanceState) {
// 通过传递过来的uri与其对应的extras。恢复之前插件未加载时的路由。
Router.resume(uri, extras).open(RouterBridgeActivity.this);
}
RePluginRouteCallback.get().getCallback().onResume(uri);
IPluginCallback callback = RePluginRouteCallback.get().getCallback();
if (callback != null) {
RePluginRouteCallback.get().getCallback().onResume(uri);
}
finish();
}

Expand Down

0 comments on commit c006038

Please sign in to comment.