am f3d281b7: Merge "Fix a bug where recapitalize prevents going to more syms"
* commit 'f3d281b775532a8d0dd05ba708a9b962182fbd1c': Fix a bug where recapitalize prevents going to more symsmain
commit
c6137f1765
|
@ -304,6 +304,7 @@ public final class KeyboardState {
|
||||||
mSwitchActions.setSymbolsKeyboard();
|
mSwitchActions.setSymbolsKeyboard();
|
||||||
mIsAlphabetMode = false;
|
mIsAlphabetMode = false;
|
||||||
mIsSymbolShifted = false;
|
mIsSymbolShifted = false;
|
||||||
|
mRecapitalizeMode = RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE;
|
||||||
// Reset alphabet shift state.
|
// Reset alphabet shift state.
|
||||||
mAlphabetShiftState.setShiftLocked(false);
|
mAlphabetShiftState.setShiftLocked(false);
|
||||||
mSwitchState = SWITCH_STATE_SYMBOL_BEGIN;
|
mSwitchState = SWITCH_STATE_SYMBOL_BEGIN;
|
||||||
|
@ -316,6 +317,7 @@ public final class KeyboardState {
|
||||||
mSwitchActions.setSymbolsShiftedKeyboard();
|
mSwitchActions.setSymbolsShiftedKeyboard();
|
||||||
mIsAlphabetMode = false;
|
mIsAlphabetMode = false;
|
||||||
mIsSymbolShifted = true;
|
mIsSymbolShifted = true;
|
||||||
|
mRecapitalizeMode = RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE;
|
||||||
// Reset alphabet shift state.
|
// Reset alphabet shift state.
|
||||||
mAlphabetShiftState.setShiftLocked(false);
|
mAlphabetShiftState.setShiftLocked(false);
|
||||||
mSwitchState = SWITCH_STATE_SYMBOL_BEGIN;
|
mSwitchState = SWITCH_STATE_SYMBOL_BEGIN;
|
||||||
|
@ -327,6 +329,7 @@ public final class KeyboardState {
|
||||||
}
|
}
|
||||||
mIsAlphabetMode = false;
|
mIsAlphabetMode = false;
|
||||||
mIsEmojiMode = true;
|
mIsEmojiMode = true;
|
||||||
|
mRecapitalizeMode = RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE;
|
||||||
// Remember caps lock mode and reset alphabet shift state.
|
// Remember caps lock mode and reset alphabet shift state.
|
||||||
mPrevMainKeyboardWasShiftLocked = mAlphabetShiftState.isShiftLocked();
|
mPrevMainKeyboardWasShiftLocked = mAlphabetShiftState.isShiftLocked();
|
||||||
mAlphabetShiftState.setShiftLocked(false);
|
mAlphabetShiftState.setShiftLocked(false);
|
||||||
|
|
Loading…
Reference in New Issue