Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95a21916 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 0f3b8e89: Merge change Ieef539c3 into eclair

Merge commit '0f3b8e89' into eclair-mr2

* commit '0f3b8e89':
  Fix a potential IllegalArgumentException caught by monkeys. #2176776
parents f195bd94 0f3b8e89
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -693,6 +693,10 @@ public class LatinIME extends InputMethodService
        }
        if (mInputView.isShifted()) {
            // 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);
        }
        if (mPredicting) {