Merge "Remove a useless test"

main
Jean Chalard 2012-03-04 19:35:01 -08:00 committed by Android (Google) Code Review
commit 4ab5486bf2
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 =