diff options
author | 2011-05-17 19:02:32 +0900 | |
---|---|---|
committer | 2011-05-20 16:23:20 +0900 | |
commit | e896d31bb92146379c8b7c0050ee05eec0830317 (patch) | |
tree | a98f8482aae746e203e6b418fe016e45bd3357f1 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | a205d23ffdec7e89933c5052ddf325af344f4af0 (diff) | |
download | latinime-e896d31bb92146379c8b7c0050ee05eec0830317.tar.gz latinime-e896d31bb92146379c8b7c0050ee05eec0830317.tar.xz latinime-e896d31bb92146379c8b7c0050ee05eec0830317.zip |
Reload keyboard after SoftInputWindow size changed
Bug: 4450008
Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 2c39eba55..4043b3581 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -624,6 +624,13 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar } @Override + public void onWindowHidden() { + super.onWindowHidden(); + KeyboardView inputView = mKeyboardSwitcher.getInputView(); + if (inputView != null) inputView.closing(); + } + + @Override public void onFinishInput() { super.onFinishInput(); @@ -809,7 +816,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar if (isExtractViewShown()) { // No need to have extra space to show the key preview. mCandidateViewContainer.setMinimumHeight(0); - super.setCandidatesViewShown(shown); + super.setCandidatesViewShown(shouldShowCandidates); } else { // We must control the visibility of the suggestion strip in order to avoid clipped // key previews, even when we don't show the suggestion strip. |