Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bddb5bc8 authored by Chris Wren's avatar Chris Wren
Browse files

Remove spammy notification_cancel event log.

We also log when notifications are actually canceled,
so this only tells us how often clients cancel non-existent
notifications.  The answer: quite often.

Bug: 19599876
Change-Id: I812866cb080d51974d4db0b6e6b3eb50c3aeb560
parent fb293aa2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2584,8 +2584,8 @@ public class NotificationManagerService extends SystemService {
            @Override
            public void run() {
                String listenerName = listener == null ? null : listener.component.toShortString();
                EventLogTags.writeNotificationCancel(callingUid, callingPid, pkg, id, tag, userId,
                        mustHaveFlags, mustNotHaveFlags, reason, listenerName);
                if (DBG) EventLogTags.writeNotificationCancel(callingUid, callingPid, pkg, id, tag,
                        userId, mustHaveFlags, mustNotHaveFlags, reason, listenerName);

                synchronized (mNotificationList) {
                    int index = indexOfNotificationLocked(pkg, tag, id, userId);