From b97d2f0d941462da60074740b42f31560bffff1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Mon, 18 May 2020 17:03:05 +0800 Subject: [PATCH] fix build not call when debugging --- .../main/java/pub/doric/devkit/DoricContextDebuggable.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() {