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

Commit 9d95a107 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Simplification & UI improvement (A59)"

parents 3378a244 663dbfd1
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1863,12 +1863,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        Utils.Stats.onSeparator((char)Keyboard.CODE_SPACE, WordComposer.NOT_A_COORDINATE,
                WordComposer.NOT_A_COORDINATE);
        if (!showingAddToDictionaryHint) {
            // If we're not showing the "Touch again to save", then show corrections again.
            // In case the cursor position doesn't change, make sure we show the suggestions again.
            updateSuggestionsOrPredictions(true /* isPredictions */);
            // Updating the predictions right away may be slow and feel unresponsive on slower
            // terminals. On the other hand if we just postUpdateBigramPredictions() it will
            // take a noticeable delay to update them which may feel uneasy.
            // If we're not showing the "Touch again to save", then show predictions.
            mHandler.postUpdateBigramPredictions();
        } else {
            if (mIsUserDictionaryAvailable) {
                mSuggestionsView.showAddToDictionaryHint(