Dismiss more suggestions before showing important notice

Bug: 14078601
Change-Id: I029cadd8f2f170b5a3e70df170e306c9be109a70
This commit is contained in:
Tadashi G. Takaoka 2014-04-16 15:40:05 +09:00
parent 1ee443d848
commit c8abd13c77

View file

@ -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);