Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/packages/inputmethods/LatinIME into eclair-mr2-plus-aosp
This commit is contained in:
commit
dcaf27514b
1 changed files with 4 additions and 0 deletions
|
@ -693,6 +693,10 @@ public class LatinIME extends InputMethodService
|
||||||
}
|
}
|
||||||
if (mInputView.isShifted()) {
|
if (mInputView.isShifted()) {
|
||||||
// TODO: This doesn't work with ß, need to fix it in the next release.
|
// TODO: This doesn't work with ß, need to fix it in the next release.
|
||||||
|
if (keyCodes == null || keyCodes[0] < Character.MIN_CODE_POINT
|
||||||
|
|| keyCodes[0] > Character.MAX_CODE_POINT) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
primaryCode = new String(keyCodes, 0, 1).toUpperCase().charAt(0);
|
primaryCode = new String(keyCodes, 0, 1).toUpperCase().charAt(0);
|
||||||
}
|
}
|
||||||
if (mPredicting) {
|
if (mPredicting) {
|
||||||
|
|
Loading…
Reference in a new issue