Java InputConnectionWrapper getTextBeforeCursor处于非活动状态InputConnection LOGCAT警告

Java InputConnectionWrapper getTextBeforeCursor处于非活动状态InputConnection LOGCAT警告,java,android,warnings,logcat,Java,Android,Warnings,Logcat,每次我翻阅edittext时都会收到InputConnectionWrapper警告。我不知道为什么,因为我不使用InputConnection getTextBeforeCursor位于非活动InputConnection上 这是LogCat输出图像。 edtValue.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) {

每次我翻阅edittext时都会收到InputConnectionWrapper警告。我不知道为什么,因为我不使用InputConnection

getTextBeforeCursor位于非活动InputConnection上

这是LogCat输出图像。

edtValue.setOnTouchListener(new OnTouchListener() {
    @Override
    public boolean onTouch(View v, MotionEvent event) {
    String value1= edtCantidad.getText().toString();
    String value2= edtResto.getText().toString();
    String value3= edtBonif.getText().toString();
    calcValues(); // this method clear values so, I need to put them back                                   
    edtResto.setText(value1);
    edtCantidad.setText(value2);
    edtBonif.setText(value3);

    return false;
    }
});