diff options
author | 2014-09-01 15:49:51 +0900 | |
---|---|---|
committer | 2014-09-01 20:09:24 +0900 | |
commit | 146cb98e54c15753264295114c5eecff05894f6f (patch) | |
tree | e9e8f2971cc6b614daaa06f25bb6782aab658469 /java/src | |
parent | f5960b4f621339a46cd266c5197a1dd861932741 (diff) | |
download | latinime-146cb98e54c15753264295114c5eecff05894f6f.tar.gz latinime-146cb98e54c15753264295114c5eecff05894f6f.tar.xz latinime-146cb98e54c15753264295114c5eecff05894f6f.zip |
[ML2] Small refactoring
Change-Id: I1283d666b8904ff4e6c012332bdbc9c0c13df415
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 a05b82cd3..f8df12054 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; } |