summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYuri Lin <yurilin@google.com>2022-01-26 16:11:24 -0500
committerYuri Lin <yurilin@google.com>2022-03-15 17:10:04 +0000
commit4e3be6801933f38c64aea1bcdb7906488380ad21 (patch)
treee3b1d32a87b70ea6cad28ad3806b76d08c31a76e /tools/aapt2/java/JavaClassGenerator_test.cpp
parentda1701ce29a5dac25d0149a70bf581127d7dbfb6 (diff)
Look up phone numbers associated with a NotificationRecord's contact URI.
Then, when a call comes in, store the additional phone numbers in the NotificationRecord (if any) in the repeat callers map. This allows us to store those phone numbers in the repeat callers data to confirm whether future calls from that contact's phone are considered "repeat" when a caller passes in the phone number. This matches on any number that belongs to the contact, and not just the one used to give in the phone call (as contact lookup seems not to distinguish). Bug: 183924362 Bug: 203806689 Test: ValidateNotificationPeopleTest; NotificationRecordTest; ZenModeFilteringTest; manually confirmed that the phone rings audibly when repeat callers is allowed and a contact calls Change-Id: I83cc7fc036a3962d2468557d41b546f40a3cfbcf Merged-In: I83cc7fc036a3962d2468557d41b546f40a3cfbcf (cherry picked from commit fa8fd0d9178974f2e5f3d473d3dc67429ac59d71)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions