aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-04 19:35:01 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-03-04 19:35:02 -0800
commit4ab5486bf2dbaa5e474209317dcbd23669964a9b (patch)
tree81f7da1e1e56a49957c5d06be934e395cc9599bd /java/src
parent50b82dca62d915c19a94babc8546789f13f633ae (diff)
parenta04d2358c0118df1294145e3f2e4e6cbf03dad0b (diff)
downloadlatinime-4ab5486bf2dbaa5e474209317dcbd23669964a9b.tar.gz
latinime-4ab5486bf2dbaa5e474209317dcbd23669964a9b.tar.xz
latinime-4ab5486bf2dbaa5e474209317dcbd23669964a9b.zip
Merge "Remove a useless test"
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 9b68acae4..2cdb0df15 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 =