Remove unused Keyboard.CODE_CANCEL

Change-Id: Ic2eab17e525901a1cf7096ebe7d24ae78624ed2e
This commit is contained in:
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_SHIFT = -1;
public static final int CODE_SWITCH_ALPHA_SYMBOL = -2; public static final int CODE_SWITCH_ALPHA_SYMBOL = -2;
public static final int CODE_CAPSLOCK = -3; 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_DELETE = -5;
public static final int CODE_SETTINGS = -6; public static final int CODE_SETTINGS = -6;
public static final int CODE_SHORTCUT = -7; public static final int CODE_SHORTCUT = -7;

View file

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