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 9c71c87c..8a76649e 100644 --- a/doric-android/doric/src/main/java/pub/doric/DoricContext.java +++ b/doric-android/doric/src/main/java/pub/doric/DoricContext.java @@ -40,6 +40,7 @@ import java.util.WeakHashMap; import java.util.concurrent.Callable; import pub.doric.async.AsyncResult; +import pub.doric.engine.RetainedJavaValue; import pub.doric.navbar.IDoricNavBar; import pub.doric.navigator.IDoricNavigator; import pub.doric.performance.DoricPerformanceProfile; diff --git a/doric-android/doric/src/main/java/pub/doric/RetainedJavaValue.java b/doric-android/doric/src/main/java/pub/doric/engine/RetainedJavaValue.java similarity index 93% rename from doric-android/doric/src/main/java/pub/doric/RetainedJavaValue.java rename to doric-android/doric/src/main/java/pub/doric/engine/RetainedJavaValue.java index d3436d06..74735e29 100644 --- a/doric-android/doric/src/main/java/pub/doric/RetainedJavaValue.java +++ b/doric-android/doric/src/main/java/pub/doric/engine/RetainedJavaValue.java @@ -1,10 +1,12 @@ -package pub.doric; +package pub.doric.engine; import com.github.pengfeizhou.jscore.JavaValue; import java.lang.ref.SoftReference; import java.lang.ref.WeakReference; +import pub.doric.DoricContext; + public class RetainedJavaValue extends JavaValue { private final WeakReference contextRef; diff --git a/doric-android/doric/src/main/java/pub/doric/plugin/ImageDecoderPlugin.java b/doric-android/doric/src/main/java/pub/doric/plugin/ImageDecoderPlugin.java index ee970158..7d9e6861 100644 --- a/doric-android/doric/src/main/java/pub/doric/plugin/ImageDecoderPlugin.java +++ b/doric-android/doric/src/main/java/pub/doric/plugin/ImageDecoderPlugin.java @@ -25,7 +25,7 @@ import com.github.pengfeizhou.jscore.JavaValue; import java.nio.ByteBuffer; import pub.doric.DoricContext; -import pub.doric.RetainedJavaValue; +import pub.doric.engine.RetainedJavaValue; import pub.doric.async.AsyncResult; import pub.doric.extension.bridge.DoricMethod; import pub.doric.extension.bridge.DoricPlugin;