Reintroduce Amith's memory leak fix from 388ce92ab8
,
after it was clobbered by my overwrite of LatinIME with the voice version.main
parent
466741d8a7
commit
d856450612
|
@ -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 New Issue