Move the cursor to the end after accepting gboard selection

Bug: 146909183

Change-Id: Ic7868d6d98f0b5a1798178cbaf512be1d347a962
This commit is contained in:
Hyunyoung Song
2019-12-27 06:16:26 -08:00
parent 36774217a4
commit 9153ff7eed

View File

@@ -108,6 +108,7 @@ public class ExtendedEditText extends EditText {
@Override
public void onCommitCompletion(CompletionInfo text) {
setText(text.getText());
setSelection(text.getText().length());
}
/**