Dismiss more suggestions before showing important notice
Bug: 14078601 Change-Id: I029cadd8f2f170b5a3e70df170e306c9be109a70main
parent
1ee443d848
commit
c8abd13c77
|
@ -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 New Issue