aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-04-04 13:38:17 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-04 13:38:17 +0000
commit40f33edaf1e169556b007edf49247eb11d442c83 (patch)
treead13288d5ad2cf5de9dee93430d2abd2544fa902 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent9268c091632388eaed7c65396660102f94d8390e (diff)
parentf9516b00ecf25e634e2ebfe8ea35eb09bbcf5ca9 (diff)
downloadlatinime-40f33edaf1e169556b007edf49247eb11d442c83.tar.gz
latinime-40f33edaf1e169556b007edf49247eb11d442c83.tar.xz
latinime-40f33edaf1e169556b007edf49247eb11d442c83.zip
am f9516b00: Merge "[IL132] Remove some calls that let a value escape."
* commit 'f9516b00ecf25e634e2ebfe8ea35eb09bbcf5ca9': [IL132] Remove some calls that let a value escape.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index ee31c4628..7ffc95697 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -537,7 +537,7 @@ public final class InputLogic {
// after typing some letters and a period, then gesturing; the keyboard is not in
// caps mode yet, but since a gesture is starting, it should go in caps mode,
// unless the user explictly said it should not.
- keyboardSwitcher.updateShiftState();
+ keyboardSwitcher.requestUpdatingShiftState();
}
}
mConnection.endBatchEdit();
@@ -579,7 +579,7 @@ public final class InputLogic {
promotePhantomSpace(settingsValues);
mConnection.commitText(commitParts[0], 0);
mSpaceState = SpaceState.PHANTOM;
- keyboardSwitcher.updateShiftState();
+ keyboardSwitcher.requestUpdatingShiftState();
mWordComposer.setCapitalizedModeAndPreviousWordAtStartComposingTime(
getActualCapsMode(settingsValues,
keyboardSwitcher.getKeyboardShiftMode()), commitParts[0]);
@@ -1819,7 +1819,7 @@ public final class InputLogic {
}
// Space state must be updated before calling updateShiftState
mSpaceState = SpaceState.PHANTOM;
- keyboardSwitcher.updateShiftState();
+ keyboardSwitcher.requestUpdatingShiftState();
}
/**