am 166fd799: Merge "Dismiss more suggestions before showing important notice"

* commit '166fd799d4c3fb9447c44ddd2fabe1a97fc6466b':
  Dismiss more suggestions before showing important notice
This commit is contained in:
Tadashi G. Takaoka 2014-04-16 09:45:18 +00:00 committed by Android Git Automerger
commit 73a1841dfb

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