mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-28 19:59:55 +00:00
redirect suggestion strip view code input to KeyboardActionListener
This commit is contained in:
parent
f06a553d2c
commit
63dad1549e
1 changed files with 2 additions and 1 deletions
|
@ -1537,9 +1537,10 @@ public class LatinIME extends InputMethodService implements
|
|||
// Implementation of {@link SuggestionStripView.Listener}.
|
||||
@Override
|
||||
public void onCodeInput(final int codePoint, final int x, final int y, final boolean isKeyRepeat) {
|
||||
onCodeInput(codePoint, 0, x, y, isKeyRepeat);
|
||||
mKeyboardActionListener.onCodeInput(codePoint, x, y, isKeyRepeat);
|
||||
}
|
||||
|
||||
// called by KeyboardActionListener
|
||||
public void onCodeInput(final int codePoint, final int metaState, final int x, final int y, final boolean isKeyRepeat) {
|
||||
if (codePoint < 0) {
|
||||
switch (codePoint) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue