Merge "Dismiss more suggestions before showing important notice"

main
Tadashi G. Takaoka 2014-04-16 09:43:38 +00:00 committed by Android (Google) Code Review
commit 166fd799d4
1 changed files with 3 additions and 0 deletions

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