Index: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java |
index cf903b0e94eebd677bfb234792bb2d548a44ca6f..d4d9ca2b85ceb0624f1f7e4411b894227729815f 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java |
@@ -52,7 +52,11 @@ public class NotificationService extends IntentService { |
*/ |
@Override |
public void onHandleIntent(final Intent intent) { |
- if (!intent.hasExtra(NotificationConstants.EXTRA_NOTIFICATION_ID)) return; |
+ if (!intent.hasExtra(NotificationConstants.EXTRA_PERSISTENT_NOTIFICATION_ID) |
+ || !intent.hasExtra(NotificationConstants.EXTRA_NOTIFICATION_INFO_ORIGIN) |
+ || !intent.hasExtra(NotificationConstants.EXTRA_NOTIFICATION_INFO_TAG)) { |
+ return; |
+ } |
ThreadUtils.runOnUiThread(new Runnable() { |
@Override |