commit | c8abd13c77ed90b209301ea379e1142e0d60e3f5 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Wed Apr 16 15:40:05 2014 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Wed Apr 16 15:40:39 2014 +0900 |
tree | f3656494ca667859e180f7474d89be7ed0a18b1f | |
parent | 1ee443d848f7e8ce8b3696e4d6e4a6afa1ce2d47 [diff] |
Dismiss more suggestions before showing important notice Bug: 14078601 Change-Id: I029cadd8f2f170b5a3e70df170e306c9be109a70
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java index 3cdd073..a0793b1 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -240,6 +240,9 @@ if (TextUtils.isEmpty(importantNoticeTitle)) { return false; } + if (isShowingMoreSuggestionPanel()) { + dismissMoreSuggestionsPanel(); + } mLayoutHelper.layoutImportantNotice(mImportantNoticeStrip, importantNoticeTitle); mStripVisibilityGroup.showImportantNoticeStrip(); mImportantNoticeStrip.setOnClickListener(this);