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

Commit a04d2358 authored by Jean Chalard's avatar Jean Chalard
Browse files

Remove a useless test

With the current logic, this test provably always resolves
to false.

Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8
parent c2136c4e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1737,10 +1737,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
                if (DEBUG) {
                    Log.d(TAG, "Flip the indicator. " + oldAutoCorrectionIndicator
                            + " -> " + newAutoCorrectionIndicator);
                    if (mComposingStateManager.isComposing() && newAutoCorrectionIndicator
                            != mComposingStateManager.isAutoCorrectionIndicatorOn()) {
                        throw new RuntimeException("Couldn't flip the indicator!");
                    }
                }
                if (mWordComposer.isComposingWord()) {
                    final CharSequence textWithUnderline =