aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-05 11:38:45 +0900
committerJean Chalard <jchalard@google.com>2012-03-05 11:38:45 +0900
commita04d2358c0118df1294145e3f2e4e6cbf03dad0b (patch)
treebb6e8663f53498920407c3a21e78e9ab0cf0dc85 /java/src
parentc2136c4e632d4542cd806d7b91a4504c11a04768 (diff)
downloadlatinime-a04d2358c0118df1294145e3f2e4e6cbf03dad0b.tar.gz
latinime-a04d2358c0118df1294145e3f2e4e6cbf03dad0b.tar.xz
latinime-a04d2358c0118df1294145e3f2e4e6cbf03dad0b.zip
Remove a useless test
With the current logic, this test provably always resolves to false. Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 904574519..debadd02a 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -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 =