| 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 4d86567f7987f28766a92ecb04e44eb803cf0863..be22dc30a9234c448a64b51ddef10d3453db28a0 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
|
| @@ -122,7 +122,7 @@ public abstract class NotificationBuilderBase {
|
| protected long[] mVibratePattern;
|
| protected long mTimestamp;
|
| protected boolean mRenotify;
|
| -
|
| + protected int mVisibility;
|
| private Bitmap mLargeIcon;
|
|
|
| public NotificationBuilderBase(Resources resources) {
|
| @@ -299,6 +299,15 @@ public abstract class NotificationBuilderBase {
|
| }
|
|
|
| /**
|
| + * Sets the visibility of the notification (if set to private, overrides \setDefaults| and
|
| + * |setVibrate|)
|
| + */
|
| + public NotificationBuilderBase setVisibility(int visibility) {
|
| + mVisibility = visibility;
|
| + return this;
|
| + }
|
| +
|
| + /**
|
| * Sets the timestamp at which the event of the notification took place.
|
| */
|
| public NotificationBuilderBase setTimestamp(long timestamp) {
|
|
|