Merge "Remove a useless test"
This commit is contained in:
commit
4ab5486bf2
1 changed files with 0 additions and 4 deletions
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue