mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-08 07:37:41 +00:00
Allow for switching between emoji categories using swipe left/right (#1488)
This commit is contained in:
parent
199f177c2d
commit
731c6cdd5e
9 changed files with 217 additions and 252 deletions
|
@ -2022,8 +2022,10 @@ public class LatinIME extends InputMethodService implements
|
|||
public void onTrimMemory(int level) {
|
||||
super.onTrimMemory(level);
|
||||
switch (level) {
|
||||
case TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_COMPLETE ->
|
||||
KeyboardLayoutSet.onSystemLocaleChanged(); // clears caches, nothing else
|
||||
case TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_COMPLETE -> {
|
||||
KeyboardLayoutSet.onSystemLocaleChanged(); // clears caches, nothing else
|
||||
mKeyboardSwitcher.trimMemory();
|
||||
}
|
||||
// deallocateMemory always called on hiding, and should not be called when showing
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue