commit | 166fd799d4c3fb9447c44ddd2fabe1a97fc6466b | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Wed Apr 16 09:43:38 2014 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Apr 16 09:43:39 2014 +0000 |
tree | 81a63ed174a30511f18cc910342d99a8bb82f90e | |
parent | 66e509b1d4a8f41a7e4d6e26dfa0dd9995e945a9 [diff] | |
parent | c8abd13c77ed90b209301ea379e1142e0d60e3f5 [diff] |
Merge "Dismiss more suggestions before showing important notice"
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);