Remove a useless test

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

Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8
main
Jean Chalard 2012-03-05 11:38:45 +09:00
parent c2136c4e63
commit a04d2358c0
1 changed files with 0 additions and 4 deletions

View File

@ -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 =