diff options
author | 2014-06-06 03:14:27 +0000 | |
---|---|---|
committer | 2014-06-06 03:14:27 +0000 | |
commit | 04ef4ce21cce83454dd10afd96cbc3be1f686a92 (patch) | |
tree | 74edb7919eda877dd2bcd645750d2cca9a61e57c /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | f91a47a2da7e986df19cf9dbadd95f7f2ac664aa (diff) | |
parent | 70ff0c212262309e381d00636bf66d231a2a9dfb (diff) | |
download | latinime-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.java | 6 |
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); |