Merge "Don't deactivate the LastComposedWord on shift" into jb-dev
commit
71b047e301
|
@ -1298,8 +1298,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switcher.onCodeInput(primaryCode);
|
switcher.onCodeInput(primaryCode);
|
||||||
// Reset after any single keystroke
|
// Reset after any single keystroke, except shift and symbol-shift
|
||||||
if (!didAutoCorrect)
|
if (!didAutoCorrect && primaryCode != Keyboard.CODE_SHIFT
|
||||||
|
&& primaryCode != Keyboard.CODE_SWITCH_ALPHA_SYMBOL)
|
||||||
mLastComposedWord.deactivate();
|
mLastComposedWord.deactivate();
|
||||||
mEnteredText = null;
|
mEnteredText = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue