|
|
@ -181,7 +181,7 @@ public class DispatchListActivity extends AppCompatActivity { |
|
|
|
@Override |
|
|
|
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { |
|
|
|
try { |
|
|
|
if (actionId == EditorInfo.IME_ACTION_SEND || actionId == EditorInfo.IME_ACTION_DONE |
|
|
|
if (actionId == EditorInfo.IME_ACTION_SEND || actionId == EditorInfo.IME_ACTION_DONE || actionId == EditorInfo.IME_ACTION_NEXT |
|
|
|
|| (event != null && KeyEvent.KEYCODE_ENTER == event.getKeyCode() && KeyEvent.ACTION_DOWN == event.getAction())) { |
|
|
|
if (v.getText().length() > 0) { |
|
|
|
new Thread(new Runnable() { |
|
|
|