am 2ba1bccc: Remove unused Keyboard.CODE_CANCEL

* commit '2ba1bcccddbd3be173e72bc49de074339d95b46a':
  Remove unused Keyboard.CODE_CANCEL
This commit is contained in:
Tadashi G. Takaoka 2011-12-11 21:11:19 -08:00 committed by Android Git Automerger
commit 30fff401b7
2 changed files with 0 additions and 6 deletions

View file

@ -71,7 +71,6 @@ public class Keyboard {
public static final int CODE_SHIFT = -1;
public static final int CODE_SWITCH_ALPHA_SYMBOL = -2;
public static final int CODE_CAPSLOCK = -3;
public static final int CODE_CANCEL = -4;
public static final int CODE_DELETE = -5;
public static final int CODE_SETTINGS = -6;
public static final int CODE_SHORTCUT = -7;

View file

@ -1334,11 +1334,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
switcher.toggleAlphabetAndSymbols();
}
break;
case Keyboard.CODE_CANCEL:
if (!isShowingOptionDialog()) {
handleClose();
}
break;
case Keyboard.CODE_SETTINGS:
onSettingsKeyPressed();
break;