mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
[IL30] Minor refactoring
Change-Id: I8a8aa9f703c6fca5e25ec573b41f325680ac92dc
This commit is contained in:
parent
0547b33130
commit
059f4c2f39
@ -581,6 +581,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
suggest.close();
|
suggest.close();
|
||||||
mInputLogic.mSuggest = null;
|
mInputLogic.mSuggest = null;
|
||||||
}
|
}
|
||||||
|
if (mInputUpdater != null) {
|
||||||
|
mInputUpdater.quitLooper();
|
||||||
|
}
|
||||||
mSettings.onDestroy();
|
mSettings.onDestroy();
|
||||||
unregisterReceiver(mReceiver);
|
unregisterReceiver(mReceiver);
|
||||||
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
||||||
@ -590,9 +593,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
PersonalizationDictionarySessionRegister.onDestroy(this);
|
PersonalizationDictionarySessionRegister.onDestroy(this);
|
||||||
LatinImeLogger.commit();
|
LatinImeLogger.commit();
|
||||||
LatinImeLogger.onDestroy();
|
LatinImeLogger.onDestroy();
|
||||||
if (mInputUpdater != null) {
|
|
||||||
mInputUpdater.quitLooper();
|
|
||||||
}
|
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user