am cd7422f4: Merge "Fix a pernicious bug with caps."
* commit 'cd7422f4dfe2bd5708acc6305a4f6dc83767685a': Fix a pernicious bug with caps.main
commit
93c2fa8d3e
|
@ -178,6 +178,8 @@ public final class KeyboardState {
|
||||||
if (!state.mIsAlphabetShiftLocked) {
|
if (!state.mIsAlphabetShiftLocked) {
|
||||||
setShifted(state.mShiftMode);
|
setShifted(state.mShiftMode);
|
||||||
}
|
}
|
||||||
|
// TODO: is this the right place to do this? Should we do this in setShift* instead?
|
||||||
|
mSwitchActions.requestUpdatingShiftState();
|
||||||
} else {
|
} else {
|
||||||
mPrevMainKeyboardWasShiftLocked = state.mIsAlphabetShiftLocked;
|
mPrevMainKeyboardWasShiftLocked = state.mIsAlphabetShiftLocked;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2929,6 +2929,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
tryFixLyingCursorPosition();
|
tryFixLyingCursorPosition();
|
||||||
|
mKeyboardSwitcher.updateShiftState();
|
||||||
if (tryResumeSuggestions) mHandler.postResumeSuggestions();
|
if (tryResumeSuggestions) mHandler.postResumeSuggestions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue