android: move RetainedJavaValue to engine package
This commit is contained in:
parent
829063e0ff
commit
1c4b1181d3
@ -40,6 +40,7 @@ import java.util.WeakHashMap;
|
|||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
import pub.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
|
import pub.doric.engine.RetainedJavaValue;
|
||||||
import pub.doric.navbar.IDoricNavBar;
|
import pub.doric.navbar.IDoricNavBar;
|
||||||
import pub.doric.navigator.IDoricNavigator;
|
import pub.doric.navigator.IDoricNavigator;
|
||||||
import pub.doric.performance.DoricPerformanceProfile;
|
import pub.doric.performance.DoricPerformanceProfile;
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
package pub.doric;
|
package pub.doric.engine;
|
||||||
|
|
||||||
import com.github.pengfeizhou.jscore.JavaValue;
|
import com.github.pengfeizhou.jscore.JavaValue;
|
||||||
|
|
||||||
import java.lang.ref.SoftReference;
|
import java.lang.ref.SoftReference;
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
|
|
||||||
|
import pub.doric.DoricContext;
|
||||||
|
|
||||||
public class RetainedJavaValue extends JavaValue {
|
public class RetainedJavaValue extends JavaValue {
|
||||||
private final WeakReference<DoricContext> contextRef;
|
private final WeakReference<DoricContext> contextRef;
|
||||||
|
|
@ -25,7 +25,7 @@ import com.github.pengfeizhou.jscore.JavaValue;
|
|||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
import pub.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import pub.doric.RetainedJavaValue;
|
import pub.doric.engine.RetainedJavaValue;
|
||||||
import pub.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
import pub.doric.extension.bridge.DoricMethod;
|
import pub.doric.extension.bridge.DoricMethod;
|
||||||
import pub.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
|
Reference in New Issue
Block a user