[IL19] Resolve a TODO.

Bug: 8636060
Change-Id: Iec7c1001c46cf8e9a44422e3f9008e437cc5cab6
main
Jean Chalard 2013-12-19 22:18:46 +09:00
parent 2a6de7903c
commit 4487a30e0d
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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");
}