Home | History | Annotate | Download | only in services

Lines Matching refs:notification

23 import android.app.Notification;
36 private final SparseArray<HashMap<String, Notification>> mNotifications = new SparseArray<>();
44 private void notify(String tag, int id, Notification notification) {
45 if (notification == mForegroundManager.getForegroundNotification()
47 throw new IllegalStateException("Mismatching ID and notification.");
54 mNotifications.get(id).put(tag, notification);
58 final HashMap<String, Notification> idMap = mNotifications.get(id);
60 final Notification notification = idMap.get(tag);
61 // Only cancel non-foreground notification
62 if (mForegroundManager.getForegroundNotification() != notification) {
73 notify(null, (Integer) args[0], (Notification) args[1]);
76 notify((String) args[0], (Integer) args[1], (Notification) args[2]);