diff options
author | 2013-04-10 17:13:26 +0900 | |
---|---|---|
committer | 2013-04-10 17:49:19 +0900 | |
commit | 99b93d17d53c2d587c45373831b327f7851ec0a8 (patch) | |
tree | d0bfe2da175bf91f87420267c923f3df36b55bf4 /java/src/com/android/inputmethod/latin/CapsModeUtils.java | |
parent | 262d5bd9f964d7fb18d96ec2ccf821b042aa3a3a (diff) | |
download | latinime-99b93d17d53c2d587c45373831b327f7851ec0a8.tar.gz latinime-99b93d17d53c2d587c45373831b327f7851ec0a8.tar.xz latinime-99b93d17d53c2d587c45373831b327f7851ec0a8.zip |
Fix a bug where autocorrection status would be wrong.
Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/CapsModeUtils.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/CapsModeUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/CapsModeUtils.java b/java/src/com/android/inputmethod/latin/CapsModeUtils.java index 1012cd519..4b8d1ac11 100644 --- a/java/src/com/android/inputmethod/latin/CapsModeUtils.java +++ b/java/src/com/android/inputmethod/latin/CapsModeUtils.java @@ -41,7 +41,7 @@ public final class CapsModeUtils { if (WordComposer.CAPS_MODE_AUTO_SHIFT_LOCKED == capitalizeMode) { return s.toUpperCase(locale); } else if (WordComposer.CAPS_MODE_AUTO_SHIFTED == capitalizeMode) { - return StringUtils.toTitleCase(s, locale); + return StringUtils.capitalizeFirstCodePoint(s, locale); } else { return s; } |