aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-04-16 09:43:38 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-04-16 09:43:39 +0000
commit166fd799d4c3fb9447c44ddd2fabe1a97fc6466b (patch)
tree81a63ed174a30511f18cc910342d99a8bb82f90e /java
parent66e509b1d4a8f41a7e4d6e26dfa0dd9995e945a9 (diff)
parentc8abd13c77ed90b209301ea379e1142e0d60e3f5 (diff)
downloadlatinime-166fd799d4c3fb9447c44ddd2fabe1a97fc6466b.tar.gz
latinime-166fd799d4c3fb9447c44ddd2fabe1a97fc6466b.tar.xz
latinime-166fd799d4c3fb9447c44ddd2fabe1a97fc6466b.zip
Merge "Dismiss more suggestions before showing important notice"
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java3
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);