diff options
author | 2014-01-24 11:38:07 +0900 | |
---|---|---|
committer | 2014-01-27 18:18:54 +0900 | |
commit | 48df380f78215f1917c73cbdc9a124d4c9cd29d8 (patch) | |
tree | ae3ec3eb1a3f03cb0f189ebd2b24df6811a319a4 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 969c06072db7f530806a4d0581ce588f01d09dc2 (diff) | |
download | latinime-48df380f78215f1917c73cbdc9a124d4c9cd29d8.tar.gz latinime-48df380f78215f1917c73cbdc9a124d4c9cd29d8.tar.xz latinime-48df380f78215f1917c73cbdc9a124d4c9cd29d8.zip |
[IL77] Remove refs to Settings from InputLogic
Bug: 8636060
Change-Id: I4ce5c9b62181ce8593a453ce222ae7d1fdc08f07
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 5 |
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 5d284cd51..4607bd564 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); } |