android:fix import error
This commit is contained in:
parent
06133bca9e
commit
35944dc2cb
@ -6,7 +6,6 @@ import com.github.pengfeizhou.jscore.JavaFunction;
|
|||||||
import com.github.pengfeizhou.jscore.JavaValue;
|
import com.github.pengfeizhou.jscore.JavaValue;
|
||||||
|
|
||||||
import org.greenrobot.eventbus.EventBus;
|
import org.greenrobot.eventbus.EventBus;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
import org.json.JSONArray;
|
import org.json.JSONArray;
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
@ -64,7 +63,7 @@ public class RemoteJSExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onMessage(@NotNull WebSocket webSocket, @NotNull String text) {
|
public void onMessage(WebSocket webSocket, String text) {
|
||||||
try {
|
try {
|
||||||
JSONObject jsonObject = new JSONObject(text);
|
JSONObject jsonObject = new JSONObject(text);
|
||||||
String cmd = jsonObject.optString("cmd");
|
String cmd = jsonObject.optString("cmd");
|
||||||
|
Reference in New Issue
Block a user