Remove unused Keyboard.CODE_CANCEL
Change-Id: Ic2eab17e525901a1cf7096ebe7d24ae78624ed2e
This commit is contained in:
parent
646a06ce25
commit
2ba1bcccdd
2 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue