aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-20 07:11:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-12-20 07:11:24 +0000
commit95d869fed4057f01262606d9cdfb4fd41ba0ce47 (patch)
treec1b89e415974749384ad67c2e9b6f87abf1408b9 /java/src
parentf7d493979a5693ba155a8bddab8b2e26a4192640 (diff)
parent4487a30e0dbca2ab18cf075e2b638f8dff6a72ca (diff)
downloadlatinime-95d869fed4057f01262606d9cdfb4fd41ba0ce47.tar.gz
latinime-95d869fed4057f01262606d9cdfb4fd41ba0ce47.tar.xz
latinime-95d869fed4057f01262606d9cdfb4fd41ba0ce47.zip
Merge "[IL19] Resolve a TODO."
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 2c9426bf1..9175aad66 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -106,8 +106,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
Suggest.SuggestInitializationListener {
private static final String TAG = LatinIME.class.getSimpleName();
private static final boolean TRACE = false;
- // TODO[IL]: Make this private
- public static boolean DEBUG;
+ private static boolean DEBUG = false;
private static final int EXTENDED_TOUCHABLE_REGION_HEIGHT = 100;
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index f5dda990a..db27d22b7 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -933,7 +933,7 @@ public final class InputLogic {
final int separatorLength = mLastComposedWord.mSeparatorString.length();
// TODO: should we check our saved separator against the actual contents of the text view?
final int deleteLength = cancelLength + separatorLength;
- if (LatinIME.DEBUG) {
+ if (LatinImeLogger.sDBG) {
if (mWordComposer.isComposingWord()) {
throw new RuntimeException("revertCommit, but we are composing a word");
}