mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove a useless test
With the current logic, this test provably always resolves to false. Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8
This commit is contained in:
parent
c2136c4e63
commit
a04d2358c0
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user