diff options
author | 2013-12-19 22:18:46 +0900 | |
---|---|---|
committer | 2013-12-20 16:02:03 +0900 | |
commit | 4487a30e0dbca2ab18cf075e2b638f8dff6a72ca (patch) | |
tree | 9faf8e84f57ccbf4c75682576e99c88f74626ce1 /java/src | |
parent | 2a6de7903c1aabad9911638f90cfca12ce64c1e1 (diff) | |
download | latinime-4487a30e0dbca2ab18cf075e2b638f8dff6a72ca.tar.gz latinime-4487a30e0dbca2ab18cf075e2b638f8dff6a72ca.tar.xz latinime-4487a30e0dbca2ab18cf075e2b638f8dff6a72ca.zip |
[IL19] Resolve a TODO.
Bug: 8636060
Change-Id: Iec7c1001c46cf8e9a44422e3f9008e437cc5cab6
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 | ||||
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 2 |
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"); } |