Android: add missing part for beforeTextChange
This commit is contained in:
parent
a1ded19836
commit
c51b03ae9c
@ -450,9 +450,10 @@ public class InputNode extends ViewNode<EditText> implements TextWatcher, View.O
|
|||||||
}
|
}
|
||||||
AsyncResult<JSDecoder> asyncResult = callJSResponse(beforeTextChangeId,
|
AsyncResult<JSDecoder> asyncResult = callJSResponse(beforeTextChangeId,
|
||||||
new JSONBuilder()
|
new JSONBuilder()
|
||||||
.put("start", "")
|
.put("editing", dest.toString())
|
||||||
.put("length", "")
|
.put("start", dstart)
|
||||||
.put("text", "")
|
.put("length", dend - dstart)
|
||||||
|
.put("replacement", source.toString())
|
||||||
.toJSONObject());
|
.toJSONObject());
|
||||||
JSDecoder jsDecoder = asyncResult.synchronous().get();
|
JSDecoder jsDecoder = asyncResult.synchronous().get();
|
||||||
boolean ret = true;
|
boolean ret = true;
|
||||||
|
Reference in New Issue
Block a user