aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-06-06 03:14:27 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-06 03:14:27 +0000
commit04ef4ce21cce83454dd10afd96cbc3be1f686a92 (patch)
tree74edb7919eda877dd2bcd645750d2cca9a61e57c /java/src/com/android/inputmethod/latin/LatinIME.java
parentf91a47a2da7e986df19cf9dbadd95f7f2ac664aa (diff)
parent70ff0c212262309e381d00636bf66d231a2a9dfb (diff)
downloadlatinime-04ef4ce21cce83454dd10afd96cbc3be1f686a92.tar.gz
latinime-04ef4ce21cce83454dd10afd96cbc3be1f686a92.tar.xz
latinime-04ef4ce21cce83454dd10afd96cbc3be1f686a92.zip
am 70ff0c21: Merge "Fix a bug on rotation with selection."
* commit '70ff0c212262309e381d00636bf66d231a2a9dfb': Fix a bug on rotation with selection.
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 66ee57cfa..deaf6cdf4 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -640,14 +640,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
@Override
public void onConfigurationChanged(final Configuration conf) {
- // If orientation changed while predicting, commit the change
final SettingsValues settingsValues = mSettings.getCurrent();
if (settingsValues.mDisplayOrientation != conf.orientation) {
mHandler.startOrientationChanging();
- mInputLogic.mConnection.beginBatchEdit();
- mInputLogic.commitTyped(mSettings.getCurrent(), LastComposedWord.NOT_A_SEPARATOR);
- mInputLogic.mConnection.finishComposingText();
- mInputLogic.mConnection.endBatchEdit();
+ mInputLogic.finishInput();
}
PersonalizationDictionarySessionRegistrar.onConfigurationChanged(this, conf,
mDictionaryFacilitator);