diff --git a/doric-android/devkit/src/main/java/pub/doric/devkit/DoricContextDebuggable.java b/doric-android/devkit/src/main/java/pub/doric/devkit/DoricContextDebuggable.java index 98f50fb4..96ba41b6 100644 --- a/doric-android/devkit/src/main/java/pub/doric/devkit/DoricContextDebuggable.java +++ b/doric-android/devkit/src/main/java/pub/doric/devkit/DoricContextDebuggable.java @@ -22,8 +22,9 @@ public class DoricContextDebuggable { doricContext.setDriver(doricDebugDriver); doricContext.getRootNode().setId(""); - doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getInitParams(), doricContext.getExtra()); + doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getExtra()); doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE); + doricContext.callEntity(DoricConstant.DORIC_ENTITY_BUILD, doricContext.getInitParams()); } }); } @@ -34,8 +35,9 @@ public class DoricContextDebuggable { doricContext.setDriver(DoricNativeDriver.getInstance()); doricContext.getRootNode().setId(""); - doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getInitParams(), doricContext.getExtra()); + doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getExtra()); doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE); + doricContext.callEntity(DoricConstant.DORIC_ENTITY_BUILD, doricContext.getInitParams()); } public DoricContext getContext() {