am 8493e431: Use constant for keycode.

Merge commit '8493e43148e1ec7b004e624f5f79183e167fad1d' into gingerbread-plus-aosp

* commit '8493e43148e1ec7b004e624f5f79183e167fad1d':
  Use constant for keycode.
main
Tadashi G. Takaoka 2010-09-22 02:40:17 -07:00 committed by Android Git Automerger
commit 84af4309f8
1 changed files with 2 additions and 2 deletions

View File

@ -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: