diff options
author | 2012-08-21 21:52:15 -0700 | |
---|---|---|
committer | 2012-08-21 21:52:15 -0700 | |
commit | ab1a509362bda75cf362a6b0ced4e4e9e32511f1 (patch) | |
tree | 3bcf320ab952736463296c8727878d264377c0cc /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 05421df9aac4c2544bead5a30171dcbdd09e0af0 (diff) | |
parent | 1f05cf6dab45c21d1ed334247929434d97c40584 (diff) | |
download | latinime-ab1a509362bda75cf362a6b0ced4e4e9e32511f1.tar.gz latinime-ab1a509362bda75cf362a6b0ced4e4e9e32511f1.tar.xz latinime-ab1a509362bda75cf362a6b0ced4e4e9e32511f1.zip |
am 1f05cf6d: Remove GCUtils utility class
* commit '1f05cf6dab45c21d1ed334247929434d97c40584':
Remove GCUtils utility class
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 7201042cd..2be568258 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -381,18 +381,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen ImfUtils.setAdditionalInputMethodSubtypes(this, mCurrentSettings.getAdditionalSubtypes()); - 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(); - tryGC = false; - } catch (OutOfMemoryError e) { - tryGC = Utils.GCUtils.getInstance().tryGCOrWait("InitSuggest", e); - } - } + initSuggest(); mDisplayOrientation = res.getConfiguration().orientation; |