summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-12-02 18:16:47 +0100
committer Matías Hernández <matiashe@google.com> 2024-12-05 16:01:14 +0100
commit8c0191854b24524b1657971129e8f5192d14770f (patch)
tree8f5d7187df97a9f7360bc9b21e5fa992dac248e4 /api/api.go
parent15c04f367cbec783721e7756c2dbfff9f3e90ad4 (diff)
Throttle excessive calls to NM.notify()
This approach doesn't use IpcDataCache (which might be infeasible for posted notifications, since they change frequently) so, lacking precise information, it's heuristic-based. However, the thresholds are sufficiently large so that normal usage of the API shouldn't be affected. Bug: 381875150 Test: atest NotificationManagerTest + existing CTS Flag: android.app.nm_binder_perf_throttle_notify Change-Id: Icdc969c0c646ef2222194bacb5a8486fe38e0498
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions