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

Commit 4348d4c8 authored by Frank Preel's avatar Frank Preel
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 Original line Diff line number Diff line
@@ -885,6 +885,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen


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