aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-27 01:35:46 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-27 01:35:46 -0800
commitd7c3ceac5965e77d3285b54c6822092ac9186a91 (patch)
treefb05f8dbe2702a38d7865c77fad4be845e57a8bf /java/src/com/android/inputmethod/latin/LatinIME.java
parent3312f281ff1777d221bdf494ebe0e9bce942b40e (diff)
parent68d7291a6bdc1d5633d744759a5c76599499d9e9 (diff)
downloadlatinime-d7c3ceac5965e77d3285b54c6822092ac9186a91.tar.gz
latinime-d7c3ceac5965e77d3285b54c6822092ac9186a91.tar.xz
latinime-d7c3ceac5965e77d3285b54c6822092ac9186a91.zip
am 68d7291a: Merge "[IL77] Remove refs to Settings from InputLogic"
* commit '68d7291a6bdc1d5633d744759a5c76599499d9e9': [IL77] Remove refs to Settings from InputLogic
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 5083c7798..82d824b8f 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1183,7 +1183,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// the right layout.
// TODO[IL]: Remove this, pass the input logic to the keyboard switcher instead?
public int getCurrentAutoCapsState() {
- return mInputLogic.getCurrentAutoCapsState(null /* optionalSettingsValues */);
+ return mInputLogic.getCurrentAutoCapsState(Settings.getInstance().getCurrent());
}
// Called from the KeyboardSwitcher which needs to know recaps state to display
@@ -1289,7 +1289,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
mSubtypeSwitcher.switchToShortcutIME(this);
// Still call the *#onCodeInput methods for readability.
}
- mInputLogic.onCodeInput(codeToSend, keyX, keyY, mHandler, mKeyboardSwitcher);
+ mInputLogic.onCodeInput(codeToSend, keyX, keyY, Settings.getInstance().getCurrent(),
+ mHandler, mKeyboardSwitcher);
mKeyboardSwitcher.onCodeInput(codePoint);
}