diff options
| author | Yuri Lin <yurilin@google.com> | 2021-10-13 16:33:27 -0400 |
|---|---|---|
| committer | Yuri Lin <yurilin@google.com> | 2021-10-27 17:50:25 +0000 |
| commit | 8c128dae902b9266d9d2281516e398cbdf118870 (patch) | |
| tree | 7d9f9c13f70038d5adf38d9bd14d47ebb24643fc /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| 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
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
