am 07a44557: Merge "Cancel pending rotation when another rotation start" into ics-mr1

* commit '07a445572f7fa21c0e24f5cdb0f0b88ff2adc672':
  Cancel pending rotation when another rotation start
This commit is contained in:
Tadashi G. Takaoka 2011-10-27 22:59:14 +00:00 committed by Android Git Automerger
commit 3122cf8daa

View file

@ -382,6 +382,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();