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

Skip to content
Commit 8c019185 authored by Matías Hernández's avatar Matías Hernández
Browse files

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
parent 15c04f36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment