diff options
| author | 2025-01-22 18:44:41 +0100 | |
|---|---|---|
| committer | 2025-01-23 15:57:06 +0100 | |
| commit | d1869f47d26a27b1fd4983c6a8fdbda4af84ab46 (patch) | |
| tree | 030d7bbefc42f2ef01a5077063fd0dfc5f77b86e /libs/androidfw/ApkParsing.cpp | |
| parent | 354e328272b336ae6e026dcc2c61d37444ac35c7 (diff) | |
Throttle broadcasts of ACTION_EFFECTS_SUPPRESSOR_CHANGED
1) Don't broadcast at all if the set of suppressed effects has changed but not the set of suppressors themselves (e.g. if an NLS changes the hints it provides).
2) Instead of sending it out immediately, wait for 250 ms after the last change (and restart this wait if it changes again).
Bug: 371776935
Test: atest NotificationManagerServiceTest
Flag: com.android.server.notification.nm_binder_perf_throttle_effects_suppressor_broadcast
Change-Id: I48645b08dd80b49729396c85db37525d16949d37
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions