Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4348d4c8 authored by frankpreel's avatar frankpreel
Browse files

Test Keyboard does not works after adding account, needs to use globe first.

parent 5458c7bf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -885,6 +885,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen

    private void switchToSttIme() {
        if (isSttKeyboardActivated()) {
            Log.d(TAG, "Load keyboard");
            switchInputMethod(KEY_STT_KEYBOARD);
        }
    }
@@ -904,9 +905,15 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        if (floatingButton != null) {
            if (shouldShowFloatingButton()) {
                floatingButton.setVisibility(View.VISIBLE);
                floatingButton.setClickable(true);
                floatingButton.setFocusable(true);
                floatingButton.setEnabled(true);
                floatingButton.bringToFront();
                floatingButton.requestFocus();
                floatingButton.setOnClickListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        Log.d(TAG, "Clicked");
                        switchToSttIme();
                    }
                });