Bug 851056 - Remove NotificationHandler. r=kats

This commit is contained in:
Brian Nicholson
2013-03-19 14:09:44 -07:00
parent 66451f8870
commit be6ad06939
8 changed files with 12 additions and 97 deletions

View File

@@ -56,7 +56,7 @@ public class NotificationService extends Service {
* @param clearIntent Intent used when the notification is removed
*/
public void add(int notificationID, String aImageUrl, String aAlertTitle,
String aAlertText, PendingIntent contentIntent, PendingIntent clearIntent) {
String aAlertText, PendingIntent contentIntent) {
// Remove the old notification with the same ID, if any
remove(notificationID);
@@ -79,7 +79,6 @@ public class NotificationService extends Service {
icon, aAlertTitle, aAlertText, System.currentTimeMillis(), imageUri);
notification.setLatestEventInfo(this, aAlertTitle, aAlertText, contentIntent);
notification.deleteIntent = clearIntent;
notification.show();
mAlertNotifications.put(notification.getId(), notification);