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

Commit 7b40c682 authored by Jean Chalard's avatar Jean Chalard
Browse files

Refactoring which will help with future changes (A47)

Change-Id: Ibc2d28f9f95966f77d4d7bdf9ae4688baaed5989
parent e9a86e2c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1708,8 +1708,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        }

        if (!mWordComposer.isComposingWord()) {
            // This is dead code: we can't come here with an empty word composer.
            setPunctuationSuggestions();
            // We are never called with an empty word composer, but if because of a bug
            // we are, what we should do here is just call updateBigramsPredictions. This will
            // update the predictions if the "predict next word" option is on, or display
            // punctuation signs if it's off.
            updateBigramPredictions();
            return;
        }