Dismiss more suggestions before showing important notice
Bug: 14078601 Change-Id: I029cadd8f2f170b5a3e70df170e306c9be109a70
This commit is contained in:
parent
1ee443d848
commit
c8abd13c77
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)) {
|
||||
return false;
|
||||
}
|
||||
if (isShowingMoreSuggestionPanel()) {
|
||||
dismissMoreSuggestionsPanel();
|
||||
}
|
||||
mLayoutHelper.layoutImportantNotice(mImportantNoticeStrip, importantNoticeTitle);
|
||||
mStripVisibilityGroup.showImportantNoticeStrip();
|
||||
mImportantNoticeStrip.setOnClickListener(this);
|
||||
|
|
Loading…
Reference in a new issue