mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Reset saved caps lock sate when new keyboard is loaded
Bug: 5722919 Change-Id: Id92632a0feffc3342d3c31e90c0da973c934f3c0
This commit is contained in:
parent
6b7100feca
commit
b300dbbd39
@ -126,6 +126,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void restore() {
|
public void restore() {
|
||||||
|
mPrevMainKeyboardWasShiftLocked = false;
|
||||||
if (!mIsValid || mIsAlphabetMode) {
|
if (!mIsValid || mIsAlphabetMode) {
|
||||||
setAlphabetKeyboard();
|
setAlphabetKeyboard();
|
||||||
} else {
|
} else {
|
||||||
@ -593,6 +594,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Move this variable to KeyboardState.
|
||||||
private boolean mPrevMainKeyboardWasShiftLocked;
|
private boolean mPrevMainKeyboardWasShiftLocked;
|
||||||
|
|
||||||
private void setSymbolsKeyboard() {
|
private void setSymbolsKeyboard() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user