[IL30] Minor refactoring
Change-Id: I8a8aa9f703c6fca5e25ec573b41f325680ac92dc
This commit is contained in:
parent
0547b33130
commit
059f4c2f39
1 changed files with 3 additions and 3 deletions
|
@ -581,6 +581,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
suggest.close();
|
||||
mInputLogic.mSuggest = null;
|
||||
}
|
||||
if (mInputUpdater != null) {
|
||||
mInputUpdater.quitLooper();
|
||||
}
|
||||
mSettings.onDestroy();
|
||||
unregisterReceiver(mReceiver);
|
||||
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
||||
|
@ -590,9 +593,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
PersonalizationDictionarySessionRegister.onDestroy(this);
|
||||
LatinImeLogger.commit();
|
||||
LatinImeLogger.onDestroy();
|
||||
if (mInputUpdater != null) {
|
||||
mInputUpdater.quitLooper();
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue