diff options
author | 2014-04-16 09:43:38 +0000 | |
---|---|---|
committer | 2014-04-16 09:43:39 +0000 | |
commit | 166fd799d4c3fb9447c44ddd2fabe1a97fc6466b (patch) | |
tree | 81a63ed174a30511f18cc910342d99a8bb82f90e /java/src | |
parent | 66e509b1d4a8f41a7e4d6e26dfa0dd9995e945a9 (diff) | |
parent | c8abd13c77ed90b209301ea379e1142e0d60e3f5 (diff) | |
download | latinime-166fd799d4c3fb9447c44ddd2fabe1a97fc6466b.tar.gz latinime-166fd799d4c3fb9447c44ddd2fabe1a97fc6466b.tar.xz latinime-166fd799d4c3fb9447c44ddd2fabe1a97fc6466b.zip |
Merge "Dismiss more suggestions before showing important notice"
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java index 3cdd07361..a0793b133 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 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick if (TextUtils.isEmpty(importantNoticeTitle)) { return false; } + if (isShowingMoreSuggestionPanel()) { + dismissMoreSuggestionsPanel(); + } mLayoutHelper.layoutImportantNotice(mImportantNoticeStrip, importantNoticeTitle); mStripVisibilityGroup.showImportantNoticeStrip(); mImportantNoticeStrip.setOnClickListener(this); |