| Index: chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| index 6821bb63fd7a5968dfc5d49330250187e183a4ed..90bbd5a4ac2c73df8e3698528a425c89b333a723 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| @@ -97,6 +97,9 @@ public class SyncNotificationController implements ProfileSyncService.SyncStateC
|
| + mApplicationContext.getString(message);
|
|
|
| PendingIntent contentIntent = PendingIntent.getActivity(mApplicationContext, 0, intent, 0);
|
| +
|
| + // There is no need to provide a group summary notification because the NOTIFICATION_ID_SYNC
|
| + // notification id ensures there's only one sync notification at a time.
|
| NotificationCompat.Builder builder = new NotificationCompat.Builder(mApplicationContext)
|
| .setAutoCancel(true)
|
| .setContentIntent(contentIntent)
|
| @@ -104,7 +107,8 @@ public class SyncNotificationController implements ProfileSyncService.SyncStateC
|
| .setContentText(text)
|
| .setSmallIcon(R.drawable.ic_chrome)
|
| .setTicker(text)
|
| - .setLocalOnly(true);
|
| + .setLocalOnly(true)
|
| + .setGroup(NotificationConstants.GROUP_SYNC);
|
|
|
| Notification notification =
|
| new NotificationCompat.BigTextStyle(builder).bigText(text).build();
|
|
|