Reintroduce Amith's memory leak fix from 388ce92ab8
,
after it was clobbered by my overwrite of LatinIME with the voice version.
This commit is contained in:
parent
466741d8a7
commit
d856450612
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ public class LatinIME extends InputMethodService
|
|||
mSuggest.close();
|
||||
}
|
||||
mSuggest = new Suggest(this, R.raw.main);
|
||||
if (mUserDictionary != null) mUserDictionary.close();
|
||||
mUserDictionary = new UserDictionary(this);
|
||||
if (mContactsDictionary == null) {
|
||||
mContactsDictionary = new ContactsDictionary(this);
|
||||
|
|
Loading…
Reference in a new issue