mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 17:36:00 +00:00
fix(android/engine): Remove unneeded keyboardPickerEnabled var
This commit is contained in:
parent
a027277ed7
commit
2dcd40f67e
1 changed files with 1 additions and 4 deletions
|
|
@ -511,7 +511,6 @@ public final class KMManager {
|
|||
*/
|
||||
private static void doGlobeKeyShortpressAction(Context context, KeyboardType keyboard) {
|
||||
GlobeKeyAction action = GlobeKeyAction.GLOBE_KEY_ACTION_DO_NOTHING;
|
||||
boolean keyboardPickerEnabled = false;
|
||||
if (keyboard == KeyboardType.KEYBOARD_TYPE_INAPP) {
|
||||
if (InAppKeyboard == null || !InAppKeyboard.keyboardPickerEnabled) {
|
||||
return;
|
||||
|
|
@ -536,9 +535,7 @@ public final class KMManager {
|
|||
|
||||
switch (action) {
|
||||
case GLOBE_KEY_ACTION_SHOW_MENU:
|
||||
if (keyboardPickerEnabled) {
|
||||
showKeyboardPicker(context, keyboard);
|
||||
}
|
||||
showKeyboardPicker(context, keyboard);
|
||||
break;
|
||||
case GLOBE_KEY_ACTION_SWITCH_TO_NEXT_KEYBOARD:
|
||||
switchToNextKeyboard(context);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue