diff options
author | 2011-09-29 17:27:48 +0900 | |
---|---|---|
committer | 2011-09-30 10:38:32 +0900 | |
commit | 59f8ca752d5f79d4469519623590052c050c9d23 (patch) | |
tree | d865a1583159bf880e58a12df5f326a0af128948 /java/src/com/android/inputmethod/compat/SharedPreferencesCompat.java | |
parent | dc1afa87329fb6dd3485209d197f810389e63c9a (diff) | |
download | latinime-59f8ca752d5f79d4469519623590052c050c9d23.tar.gz latinime-59f8ca752d5f79d4469519623590052c050c9d23.tar.xz latinime-59f8ca752d5f79d4469519623590052c050c9d23.zip |
Skip successive InputMethodService callbacks after orientation changed
IME is called back four methods for each input field as a IME life
cycle. The four methods are onStartInput, onStartInputView,
onFinishInputView and onFinishInput.
After orientation changed, Those quartet methods will be called back
twice. This behavior of the framework might be a bug.
In order to restore the previous keyboard layout, we should skip
onFinishInputView and onFinishInput of the first quartet and
onStartInput and onStartInputView of the second quartet.
Bug: 4311428
Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
Diffstat (limited to 'java/src/com/android/inputmethod/compat/SharedPreferencesCompat.java')
0 files changed, 0 insertions, 0 deletions