commit | 8c128dae902b9266d9d2281516e398cbdf118870 | [log] [tgz] |
---|---|---|
author | Yuri Lin <yurilin@google.com> | Wed Oct 13 16:33:27 2021 -0400 |
committer | Yuri Lin <yurilin@google.com> | Wed Oct 27 17:50:25 2021 +0000 |
tree | 7d9f9c13f70038d5adf38d9bd14d47ebb24643fc | |
parent | 4c0857c9527d04253f77203442c2026926526a3b [diff] |
Enforce that callers to matchesCallFilter have either listener access or read_contacts permission. This constraint is because matchesCallFilter potentially exposes contact information for users whose DND settings involve only allowing calls from contacts or starred contacts. Bug: 192592755 Test: NotificationManagerServiceTest, NotificationManagerTest#testMatchesCallFilter_* Change-Id: I8e7c8b6994cb9668e22c3a7fc017d4401338369d