add interface to provide jse
This commit is contained in:
parent
e63a513245
commit
7f39727cf4
@ -228,4 +228,8 @@ public class DoricNativeDriver implements IDoricDriver {
|
||||
}
|
||||
mJSHandler = doricJSEngine.getJSHandler();
|
||||
}
|
||||
|
||||
public DoricJSEngine getDoricJSEngine() {
|
||||
return doricJSEngine;
|
||||
}
|
||||
}
|
||||
|
@ -351,4 +351,8 @@ public class DoricJSEngine implements Handler.Callback, DoricTimerExtension.Time
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public IDoricJSE getDoricJSE() {
|
||||
return mDoricJSE;
|
||||
}
|
||||
}
|
||||
|
@ -63,4 +63,8 @@ public class DoricNativeJSExecutor implements IDoricJSE {
|
||||
public void teardown() {
|
||||
mJSExecutor.destroy();
|
||||
}
|
||||
|
||||
public JSExecutor getJSExecutor() {
|
||||
return mJSExecutor;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user