am 059f4c2f: [IL30] Minor refactoring

* commit '059f4c2f39b67dd5e08dca8e736aef4f1f0c69d1':
  [IL30] Minor refactoring
main
Jean Chalard 2013-12-20 04:26:34 -08:00 committed by Android Git Automerger
commit 22a28e716b
1 changed files with 3 additions and 3 deletions

View File

@ -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();
}