Skip to content

Commit 05af16f

Browse files
306bobby-androidmomenabdulrazek
authored andcommitted
LatinIME: Completely remove language switch key
The language picker globe button is now handled by the SystemUI navigation hint IME. Because of this, we get a redundant globe on the stock keyboard. Removing the globe in the keyboard makes the most sense, as it can not be turned off otherwise
1 parent 9274269 commit 05af16f

254 files changed

Lines changed: 56 additions & 740 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

common/src/com/android/inputmethod/latin/common/Constants.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ public static boolean isValidCoordinate(final int coordinate) {
240240
public static final int CODE_SHORTCUT = -7;
241241
public static final int CODE_ACTION_NEXT = -8;
242242
public static final int CODE_ACTION_PREVIOUS = -9;
243-
public static final int CODE_LANGUAGE_SWITCH = -10;
244243
public static final int CODE_EMOJI = -11;
245244
public static final int CODE_SHIFT_ENTER = -12;
246245
public static final int CODE_SYMBOL_SHIFT = -13;
@@ -265,7 +264,6 @@ public static String printableCode(final int code) {
265264
case CODE_SHORTCUT: return "shortcut";
266265
case CODE_ACTION_NEXT: return "actionNext";
267266
case CODE_ACTION_PREVIOUS: return "actionPrevious";
268-
case CODE_LANGUAGE_SWITCH: return "languageSwitch";
269267
case CODE_EMOJI: return "emoji";
270268
case CODE_SHIFT_ENTER: return "shiftEnter";
271269
case CODE_ALPHA_FROM_EMOJI: return "alpha";
-1.42 KB
Binary file not shown.
-1.49 KB
Binary file not shown.
-945 Bytes
Binary file not shown.
-982 Bytes
Binary file not shown.
Binary file not shown.
-2.01 KB
Binary file not shown.
-2.76 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)