Loading services/core/java/com/android/server/notification/NotificationManagerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -7240,6 +7240,10 @@ public class NotificationManagerService extends SystemService { } } } if (Flags.traceCancelEvents()) { Trace.instant(Trace.TRACE_TAG_SYSTEM_SERVER, "cancelNotificationInternal: " + SmallHash.hash(Objects.hashCode(tag) ^ id)); } cancelNotification(uid, callingPid, pkg, tag, id, 0, mustNotHaveFlags, false, userId, REASON_APP_CANCEL, null); Loading services/core/java/com/android/server/notification/flags.aconfig +27 −0 Original line number Diff line number Diff line Loading @@ -101,3 +101,30 @@ flag { description: "Stores restore data for not-yet-installed pkgs for 48 hours" bug: "334999659" } flag { name: "trace_cancel_events" namespace: "systemui" description: "Adds performance tracing for binder cancel calls" bug: "331677193" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "exit_invalid_cancel_early" namespace: "systemui" description: "aborts cancel binder events early if notif doesn't exist" bug: "331677193" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "use_ipcdatacache_channels" namespace: "systemui" description: "Adds an IPCDataCache for notification channel/group lookups" bug: "331677193" } Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -7240,6 +7240,10 @@ public class NotificationManagerService extends SystemService { } } } if (Flags.traceCancelEvents()) { Trace.instant(Trace.TRACE_TAG_SYSTEM_SERVER, "cancelNotificationInternal: " + SmallHash.hash(Objects.hashCode(tag) ^ id)); } cancelNotification(uid, callingPid, pkg, tag, id, 0, mustNotHaveFlags, false, userId, REASON_APP_CANCEL, null); Loading
services/core/java/com/android/server/notification/flags.aconfig +27 −0 Original line number Diff line number Diff line Loading @@ -101,3 +101,30 @@ flag { description: "Stores restore data for not-yet-installed pkgs for 48 hours" bug: "334999659" } flag { name: "trace_cancel_events" namespace: "systemui" description: "Adds performance tracing for binder cancel calls" bug: "331677193" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "exit_invalid_cancel_early" namespace: "systemui" description: "aborts cancel binder events early if notif doesn't exist" bug: "331677193" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "use_ipcdatacache_channels" namespace: "systemui" description: "Adds an IPCDataCache for notification channel/group lookups" bug: "331677193" }