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:12:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-06 03:12:12 +0000
commit70ff0c212262309e381d00636bf66d231a2a9dfb (patch)
tree74edb7919eda877dd2bcd645750d2cca9a61e57c /java/src/com/android/inputmethod/latin/LatinIME.java
parent0ee8644666c01431adcc7d651ab1841c61f0bb43 (diff)
parent9fd9a68d8797ed500d07d5e149cd4da50be2df15 (diff)
downloadlatinime-70ff0c212262309e381d00636bf66d231a2a9dfb.tar.gz
latinime-70ff0c212262309e381d00636bf66d231a2a9dfb.tar.xz
latinime-70ff0c212262309e381d00636bf66d231a2a9dfb.zip
Merge "Fix a bug on rotation with selection."
Diffstat (limited to '')
-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);