am 95d869fe: Merge "[IL19] Resolve a TODO."
* commit '95d869fed4057f01262606d9cdfb4fd41ba0ce47': [IL19] Resolve a TODO.main
commit
bab3f5b424
|
@ -106,8 +106,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
Suggest.SuggestInitializationListener {
|
Suggest.SuggestInitializationListener {
|
||||||
private static final String TAG = LatinIME.class.getSimpleName();
|
private static final String TAG = LatinIME.class.getSimpleName();
|
||||||
private static final boolean TRACE = false;
|
private static final boolean TRACE = false;
|
||||||
// TODO[IL]: Make this private
|
private static boolean DEBUG = false;
|
||||||
public static boolean DEBUG;
|
|
||||||
|
|
||||||
private static final int EXTENDED_TOUCHABLE_REGION_HEIGHT = 100;
|
private static final int EXTENDED_TOUCHABLE_REGION_HEIGHT = 100;
|
||||||
|
|
||||||
|
|
|
@ -933,7 +933,7 @@ public final class InputLogic {
|
||||||
final int separatorLength = mLastComposedWord.mSeparatorString.length();
|
final int separatorLength = mLastComposedWord.mSeparatorString.length();
|
||||||
// TODO: should we check our saved separator against the actual contents of the text view?
|
// TODO: should we check our saved separator against the actual contents of the text view?
|
||||||
final int deleteLength = cancelLength + separatorLength;
|
final int deleteLength = cancelLength + separatorLength;
|
||||||
if (LatinIME.DEBUG) {
|
if (LatinImeLogger.sDBG) {
|
||||||
if (mWordComposer.isComposingWord()) {
|
if (mWordComposer.isComposingWord()) {
|
||||||
throw new RuntimeException("revertCommit, but we are composing a word");
|
throw new RuntimeException("revertCommit, but we are composing a word");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue