commit | 026456eccee8390343a1cf46b8ef6bc3ded92ebd | [log] [tgz] |
---|---|---|
author | Yuri Lin <yurilin@google.com> | Tue Sep 28 17:11:03 2021 -0400 |
committer | Yuri Lin <yurilin@google.com> | Mon Oct 11 11:59:48 2021 -0400 |
tree | 867fa52795bb3f131c98be862209ebbba52397af | |
parent | a3391604c0fefb9fcf67f1a1c7581ff344dfa990 [diff] |
Add matchesCallFilter function to NotificationManager. This method takes a URI for a phone number that's calling and returns a boolean indicating whether the call would be allowed to interrupt the user. It's a light wrapper around the pre-existing (hidden) matchesCallFilter call that takes a Bundle with the same information. Bug: 192592755 Test: atest NotificationManagerTest Change-Id: I6e819b28b0f5047f005258bfd6044c6670628789