aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-04-17 19:47:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-04-17 19:47:28 -0700
commit074fee655bcd8ba95ee016b49ac5d8e61e45eaac (patch)
treeb8c725df4694f778483b05045997bf0afd15dce0 /tests/src
parentfe48f31e56d5dfffc84d0be18b0eb6002662337f (diff)
parentcca43825157d869b22c7d501d793dd5ed3d61562 (diff)
downloadlatinime-074fee655bcd8ba95ee016b49ac5d8e61e45eaac.tar.gz
latinime-074fee655bcd8ba95ee016b49ac5d8e61e45eaac.tar.xz
latinime-074fee655bcd8ba95ee016b49ac5d8e61e45eaac.zip
am cca43825: am 8094bf45: Match the keyboard state to the recapitalize state.
* commit 'cca43825157d869b22c7d501d793dd5ed3d61562': Match the keyboard state to the recapitalize state.
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java b/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java
index eb484084e..74506d26a 100644
--- a/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java
+++ b/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java
@@ -19,6 +19,7 @@ package com.android.inputmethod.keyboard.internal;
import android.text.TextUtils;
import com.android.inputmethod.latin.Constants;
+import com.android.inputmethod.latin.RecapitalizeStatus;
public class MockKeyboardSwitcher implements KeyboardState.SwitchActions {
public interface MockConstants {
@@ -120,7 +121,7 @@ public class MockKeyboardSwitcher implements KeyboardState.SwitchActions {
@Override
public void requestUpdatingShiftState() {
- mState.onUpdateShiftState(mAutoCapsState);
+ mState.onUpdateShiftState(mAutoCapsState, RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE);
}
@Override
@@ -162,7 +163,7 @@ public class MockKeyboardSwitcher implements KeyboardState.SwitchActions {
}
public void updateShiftState() {
- mState.onUpdateShiftState(mAutoCapsState);
+ mState.onUpdateShiftState(mAutoCapsState, RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE);
}
public void loadKeyboard() {