Skip to content
Snippets Groups Projects
Commit 8493e431 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Use constant for keycode.

This is follow up change of Idb3adcb6fac1a23836510912d35312fa11b4f259

Change-Id: I130e381b0d5ac01176a746a4a915e2fc9d54587b
parent 9d1cb899
No related branches found
No related tags found
No related merge requests found
......@@ -161,13 +161,13 @@ public class LatinKeyboard extends Keyboard {
XmlResourceParser parser) {
Key key = new LatinKey(res, parent, x, y, parser);
switch (key.codes[0]) {
case 10:
case LatinIME.KEYCODE_ENTER:
mEnterKey = key;
break;
case LatinKeyboardView.KEYCODE_F1:
mF1Key = key;
break;
case 32:
case LatinIME.KEYCODE_SPACE:
mSpaceKey = key;
break;
case KEYCODE_MODE_CHANGE:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment