diff options
author | 2014-09-02 06:40:50 +0000 | |
---|---|---|
committer | 2014-09-02 06:40:51 +0000 | |
commit | c0d3123930dc695f94138f1f3930033d0878eee0 (patch) | |
tree | 8b70ab1d3e60b1147f773fd1ec2c5ece9ceaa917 /java/src | |
parent | 509b6c9ad623d5f9d1546bb6a0bc462a805ab24b (diff) | |
parent | 146cb98e54c15753264295114c5eecff05894f6f (diff) | |
download | latinime-c0d3123930dc695f94138f1f3930033d0878eee0.tar.gz latinime-c0d3123930dc695f94138f1f3930033d0878eee0.tar.xz latinime-c0d3123930dc695f94138f1f3930033d0878eee0.zip |
Merge "[ML2] Small refactoring"
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 59150aeca..c55acd462 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1179,10 +1179,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen return mInputLogic.getCurrentRecapitalizeState(); } - public Locale getCurrentSubtypeLocale() { - return mSubtypeSwitcher.getCurrentSubtypeLocale(); - } - /** * @param codePoints code points to get coordinates for. * @return x,y coordinates for this keyboard, as a flattened array. @@ -1496,7 +1492,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } final String wordToShow; if (CapsModeUtils.isAutoCapsMode(mInputLogic.mLastComposedWord.mCapitalizedMode)) { - wordToShow = word.toLowerCase(getCurrentSubtypeLocale()); + wordToShow = word.toLowerCase(mSubtypeSwitcher.getCurrentSubtypeLocale()); } else { wordToShow = word; } |