aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-09-02 06:51:30 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-02 06:51:30 +0000
commit1cab90ab277f80a13b0b5c351406c7adb2135aaa (patch)
tree2e2eb6ab552f206481cf69220940c09932aa5467 /java/src/com/android/inputmethod/latin/LatinIME.java
parent9f0c1d4cee9b08f9b0011f3a43fd0ed91f83b0f5 (diff)
parentc0d3123930dc695f94138f1f3930033d0878eee0 (diff)
downloadlatinime-1cab90ab277f80a13b0b5c351406c7adb2135aaa.tar.gz
latinime-1cab90ab277f80a13b0b5c351406c7adb2135aaa.tar.xz
latinime-1cab90ab277f80a13b0b5c351406c7adb2135aaa.zip
am c0d31239: Merge "[ML2] Small refactoring"
* commit 'c0d3123930dc695f94138f1f3930033d0878eee0': [ML2] Small refactoring
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java6
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;
}