Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3563)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxy.java

Issue 2589333002: Revert of Revert "Revert of Implement GetDisplayed on android M+ (patchset #3 id:60001 of https://codereview.… (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxy.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxy.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxy.java
index f601d75b5cbf3882f523b101d521e9aca9028532..fd9ae67777b09c0f221c31ec28ad941ed8062056 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxy.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxy.java
@@ -4,10 +4,7 @@
package org.chromium.chrome.browser.notifications;
-import android.annotation.TargetApi;
import android.app.Notification;
-import android.os.Build;
-import android.service.notification.StatusBarNotification;
/**
* A proxy for the Android Notification Manager. This allows tests to be written without having to
@@ -21,7 +18,4 @@
void cancelAll();
void notify(int id, Notification notification);
void notify(String tag, int id, Notification notification);
-
- @TargetApi(Build.VERSION_CODES.M)
- StatusBarNotification[] getActiveNotifications();
}

Powered by Google App Engine
This is Rietveld 408576698