@@ -707,7 +707,8 @@ public void enqueueNotificationInternal(String pkg, int callingUid, int callingP
707707 // behalf of the download manager without affecting other apps.
708708 if (!pkg .equals ("com.android.providers.downloads" )
709709 || Log .isLoggable ("DownloadManager" , Log .VERBOSE )) {
710- EventLog .writeEvent (EventLogTags .NOTIFICATION_ENQUEUE , pkg , id , notification .toString ());
710+ EventLog .writeEvent (EventLogTags .NOTIFICATION_ENQUEUE , pkg , id , tag ,
711+ notification .toString ());
711712 }
712713
713714 if (pkg == null || notification == null ) {
@@ -944,7 +945,8 @@ private void cancelNotificationLocked(NotificationRecord r, boolean sendDelete)
944945 */
945946 private void cancelNotification (String pkg , String tag , int id , int mustHaveFlags ,
946947 int mustNotHaveFlags , boolean sendDelete ) {
947- EventLog .writeEvent (EventLogTags .NOTIFICATION_CANCEL , pkg , id , mustHaveFlags );
948+ EventLog .writeEvent (EventLogTags .NOTIFICATION_CANCEL , pkg , id , tag ,
949+ mustHaveFlags , mustNotHaveFlags );
948950
949951 synchronized (mNotificationList ) {
950952 int index = indexOfNotificationLocked (pkg , tag , id );
@@ -972,7 +974,8 @@ private void cancelNotification(String pkg, String tag, int id, int mustHaveFlag
972974 */
973975 boolean cancelAllNotificationsInt (String pkg , int mustHaveFlags ,
974976 int mustNotHaveFlags , boolean doit ) {
975- EventLog .writeEvent (EventLogTags .NOTIFICATION_CANCEL_ALL , pkg , mustHaveFlags );
977+ EventLog .writeEvent (EventLogTags .NOTIFICATION_CANCEL_ALL , pkg , mustHaveFlags ,
978+ mustNotHaveFlags );
976979
977980 synchronized (mNotificationList ) {
978981 final int N = mNotificationList .size ();
0 commit comments