From ef77d5ec95c44035898d7c9c48d513ae93477153 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 3 Mar 2020 18:46:24 +0800 Subject: [PATCH] android:fix context call method error --- doric-android/doric/src/main/java/pub/doric/DoricContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-android/doric/src/main/java/pub/doric/DoricContext.java b/doric-android/doric/src/main/java/pub/doric/DoricContext.java index 83033e0e..c4d0413e 100644 --- a/doric-android/doric/src/main/java/pub/doric/DoricContext.java +++ b/doric-android/doric/src/main/java/pub/doric/DoricContext.java @@ -101,7 +101,6 @@ public class DoricContext { this.mContextId = contextId; this.source = source; this.extra = extra; - callEntity(DoricConstant.DORIC_ENTITY_CREATE); } public String getSource() { @@ -116,6 +115,7 @@ public class DoricContext { DoricContext doricContext = DoricContextManager.getInstance().createContext(context, script, source, extra); doricContext.script = script; doricContext.extra = extra; + doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE); return doricContext; }