Merge "Dismiss more suggestions before showing important notice"
This commit is contained in:
commit
166fd799d4
1 changed files with 3 additions and 0 deletions
|
@ -240,6 +240,9 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
||||||
if (TextUtils.isEmpty(importantNoticeTitle)) {
|
if (TextUtils.isEmpty(importantNoticeTitle)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (isShowingMoreSuggestionPanel()) {
|
||||||
|
dismissMoreSuggestionsPanel();
|
||||||
|
}
|
||||||
mLayoutHelper.layoutImportantNotice(mImportantNoticeStrip, importantNoticeTitle);
|
mLayoutHelper.layoutImportantNotice(mImportantNoticeStrip, importantNoticeTitle);
|
||||||
mStripVisibilityGroup.showImportantNoticeStrip();
|
mStripVisibilityGroup.showImportantNoticeStrip();
|
||||||
mImportantNoticeStrip.setOnClickListener(this);
|
mImportantNoticeStrip.setOnClickListener(this);
|
||||||
|
|
Loading…
Reference in a new issue