mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
DO NOT MERGE. Save keyboard layout only when it is shown
This is a cherrypick of I150b4a05 from master to ics-mr1. Bug: 5130446 Bug: 5787394 Change-Id: Ie0d58283042166537ff161344564c3c51b0d1296
This commit is contained in:
parent
c960695f38
commit
3e405f3afd
@ -405,7 +405,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||
resetPendingImsCallback();
|
||||
mIsOrientationChanging = true;
|
||||
final LatinIME latinIme = getOuterInstance();
|
||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||
if (latinIme.isInputViewShown()) {
|
||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||
}
|
||||
}
|
||||
|
||||
private void resetPendingImsCallback() {
|
||||
|
Loading…
Reference in New Issue
Block a user