Cancel pending rotation when another rotation start

Bug: 5516802
Change-Id: Iccb0abeb94e6dc1322a98a0c744188bb74034c7f
main
Tadashi G. Takaoka 2011-10-27 17:03:03 +09:00
parent 556a7147c1
commit dd25e4fa2c
1 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
private boolean mHasPendingFinishInput; private boolean mHasPendingFinishInput;
public void startOrientationChanging() { public void startOrientationChanging() {
removeMessages(MSG_PENDING_IMS_CALLBACK);
resetPendingImsCallback();
mIsOrientationChanging = true; mIsOrientationChanging = true;
final LatinIME latinIme = getOuterInstance(); final LatinIME latinIme = getOuterInstance();
latinIme.mKeyboardSwitcher.saveKeyboardState(); latinIme.mKeyboardSwitcher.saveKeyboardState();