diff options
| author | 2023-03-02 19:06:56 +0100 | |
|---|---|---|
| committer | 2023-03-06 10:00:11 +0000 | |
| commit | ac171dec4b1c833d1f7d9d348e7b92c1d42aacbb (patch) | |
| tree | b72f2a3baf1790dad51812e51ef4dbcb737681fa /api/api.go | |
| parent | 6cab17b429d3997c2a1bc67f6e402ee281505589 (diff) | |
Send DND related broadcasts to the correct destinations
Previously, broadcasts such as ACTION_INTERRUPTION_FILTER_CHANGED were sent to every ConditionProvider package for all started users, even if the package had DND Access only for some subset of them. Now, they are sent only to the profiles of the current user, and only to the packages that have such access.
Fixes: 270338618
Test: New unit tests + manual verification
Change-Id: I4909a76a1f160eb5fb0be734a170982ffd2c0a69
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions