Commit 13494c4e authored by Joe DeBlasio's avatar Joe DeBlasio Committed by Commit Bot

Update Android Safety Tip infobar layout.

This CL converts back to the small infobar layout for Safety Tips and
updates the icon to the 'info shield'. This helps mitigate small screens
cutting off infobar titles by using the smaller-fonted layout.

It now looks like this:
https://drive.google.com/open?id=14-kCTwgzlkjjhVzVmX4hY-6YnJfynzar

Bug: 1008562
Change-Id: I1dd2809f36aea74b5d154bffa53cd601d45053fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864289
Auto-Submit: Joe DeBlasio <jdeblasio@chromium.org>
Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706709}
parent 6138861a
......@@ -55,7 +55,6 @@ public class SafetyTipInfoBar extends ConfirmInfoBar {
@Override
public void createContent(InfoBarLayout layout) {
super.createContent(layout);
layout.setIsUsingBigIcon();
layout.getMessageLayout().addDescription(mDescription);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment