Commit e4f8192b authored by yangwu.jia's avatar yangwu.jia

And getPluginRegistry()

parent 238255d0
......@@ -23,7 +23,7 @@ public class NewFlutterBoost {
private FlutterViewContainerManager mManager;
private Activity mCurrentActiveActivity;
private BoostPluginRegistry registry;
static NewFlutterBoost sInstance = null;
......@@ -117,7 +117,7 @@ public class NewFlutterBoost {
});
BoostPluginRegistry registry = new BoostPluginRegistry(this.engineProvider(),
registry = new BoostPluginRegistry(this.engineProvider(),
mPlatform.getApplication());
mPlatform.registerPlugins(registry);
......@@ -268,5 +268,7 @@ public class NewFlutterBoost {
return mManager.findContainerById(id);
}
public BoostPluginRegistry getPluginRegistry(){
return registry;
}
}
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