Merge "Remove a useless test"

This commit is contained in:
Jean Chalard 2012-03-04 19:35:01 -08:00 committed by Android (Google) Code Review
commit 4ab5486bf2

View file

@ -1737,10 +1737,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (DEBUG) { if (DEBUG) {
Log.d(TAG, "Flip the indicator. " + oldAutoCorrectionIndicator Log.d(TAG, "Flip the indicator. " + oldAutoCorrectionIndicator
+ " -> " + newAutoCorrectionIndicator); + " -> " + newAutoCorrectionIndicator);
if (mComposingStateManager.isComposing() && newAutoCorrectionIndicator
!= mComposingStateManager.isAutoCorrectionIndicatorOn()) {
throw new RuntimeException("Couldn't flip the indicator!");
}
} }
if (mWordComposer.isComposingWord()) { if (mWordComposer.isComposingWord()) {
final CharSequence textWithUnderline = final CharSequence textWithUnderline =