| Index: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java
|
| index ffb3136b989940c66705fdf6111be7510e2e6963..9bde913907ab8f554b7979de6765544f8b1cb066 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java
|
| @@ -65,6 +65,7 @@ public abstract class NotificationBuilderBase {
|
| protected CharSequence mBody;
|
| protected CharSequence mOrigin;
|
| protected CharSequence mTickerText;
|
| + protected Bitmap mImage;
|
| protected Bitmap mLargeIcon;
|
| protected int mSmallIconId;
|
| protected Bitmap mSmallIconBitmap;
|
| @@ -115,6 +116,14 @@ public abstract class NotificationBuilderBase {
|
| }
|
|
|
| /**
|
| + * Sets the content image to be prominently displayed when the notification is expanded.
|
| + */
|
| + public NotificationBuilderBase setImage(@Nullable Bitmap image) {
|
| + mImage = image;
|
| + return this;
|
| + }
|
| +
|
| + /**
|
| * Sets the large icon that is shown in the notification.
|
| */
|
| public NotificationBuilderBase setLargeIcon(@Nullable Bitmap icon) {
|
|
|