Remove unused Keyboard.CODE_CANCEL

Change-Id: Ic2eab17e525901a1cf7096ebe7d24ae78624ed2e
main
Tadashi G. Takaoka 2011-12-12 12:56:30 +09:00
parent 646a06ce25
commit 2ba1bcccdd
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;