parent
dac53d9c7d
commit
88327fb73b
|
@ -355,10 +355,14 @@ public class LatinIME extends InputMethodService
|
|||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
mUserDictionary.close();
|
||||
mContactsDictionary.close();
|
||||
if (mUserDictionary != null) {
|
||||
mUserDictionary.close();
|
||||
}
|
||||
if (mContactsDictionary != null) {
|
||||
mContactsDictionary.close();
|
||||
}
|
||||
unregisterReceiver(mReceiver);
|
||||
if (VOICE_INSTALLED) {
|
||||
if (VOICE_INSTALLED && mVoiceInput != null) {
|
||||
mVoiceInput.destroy();
|
||||
}
|
||||
LatinImeLogger.commit();
|
||||
|
|
Loading…
Reference in New Issue