diff options
author | 2012-06-12 11:50:36 -0700 | |
---|---|---|
committer | 2012-06-12 11:50:36 -0700 | |
commit | 58d9e46ce0594989eb7a89be15b29472351cb01f (patch) | |
tree | 78c1987f2a4e3919d1222742ab999d6b54663cef /java/src | |
parent | 4b3ae50eef05aeb59e7aec055dcb593d51dd0cff (diff) | |
parent | e86054e5c2e4734d87d2fbf1eeba8c75fc888df0 (diff) | |
download | latinime-58d9e46ce0594989eb7a89be15b29472351cb01f.tar.gz latinime-58d9e46ce0594989eb7a89be15b29472351cb01f.tar.xz latinime-58d9e46ce0594989eb7a89be15b29472351cb01f.zip |
Merge "Consolidate a test."
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 4670bedb4..899c98067 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -391,6 +391,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen Utils.GCUtils.getInstance().reset(); boolean tryGC = true; + // Shouldn't this be removed? I think that from Honeycomb on, the GC is now actually working + // as expected and this code is useless. for (int i = 0; i < Utils.GCUtils.GC_TRY_LOOP_MAX && tryGC; ++i) { try { initSuggest(); @@ -762,6 +764,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen composingSpanEnd, mExpectingUpdateSelection, expectingUpdateSelectionFromLogger, mConnection); if (expectingUpdateSelectionFromLogger) { + // TODO: Investigate. Quitting now sounds wrong - we won't do the resetting work return; } } @@ -1626,7 +1629,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen public boolean isSuggestionsRequested() { // TODO: move this method to mSettingsValues return mInputAttributes.mIsSettingsSuggestionStripOn - && (mCurrentSettings.mCorrectionMode > 0 || isShowingSuggestionsStrip()); + && (mCurrentSettings.isCorrectionOn() || isShowingSuggestionsStrip()); } public boolean isShowingPunctuationList() { |