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

Commit a565dc0b authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "NMS binder call performance step 1: logging" into main

parents 6010d9e5 1d4aa6d6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);
+27 −0
Original line number Diff line number Diff line
@@ -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"
}