Skip to content
Commit 36062332 authored by Yuri Lin's avatar Yuri Lin
Browse files

In repeat callers, record tel: URIs separately from other people strings.

Then match the phone numbers based on PhoneNumberUtils#areSamePhoneNumber rather than just a direct match, to make sure the same number provided in different formats is still detected correctly.

For all other types of URI/string inputs (mailto:, etc), continue to do a direct match only.

Also do an "any" match rather than "all" -- if there are multiple entries in the extras bundle, allow a single match rather than stringing it all together.

Bug: 183924362
Bug: 203806689
Test: ZenModeFilteringTest

Change-Id: I84870436d5d8c6f24a57d4e54b848730a4c03778
Merged-In: I84870436d5d8c6f24a57d4e54b848730a4c03778
(cherry picked from commit 771f6d64)
parent 4faa1e11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment