| 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 08ef5fb47bd1fc05f5ea60dc671ced168090cdcb..c5835787c60a178073f5dbe592cd2718f004f623 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
|
| @@ -48,6 +48,7 @@ public abstract class NotificationBuilderBase {
|
| protected int mDefaults = Notification.DEFAULT_ALL;
|
| protected long[] mVibratePattern;
|
| protected long mTimestamp;
|
| + protected boolean mRenotify;
|
|
|
| /**
|
| * Combines all of the options that have been set and returns a new Notification object.
|
| @@ -173,6 +174,14 @@ public abstract class NotificationBuilderBase {
|
| return this;
|
| }
|
|
|
| + /**
|
| + * Sets the behavior for when the notification is replaced.
|
| + */
|
| + public NotificationBuilderBase setRenotify(boolean renotify) {
|
| + mRenotify = renotify;
|
| + return this;
|
| + }
|
| +
|
| @Nullable
|
| private static CharSequence limitLength(@Nullable CharSequence input) {
|
| if (input == null) {
|
|
|