summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorYuri Lin <yurilin@google.com>2022-01-19 17:21:22 -0500
committerYuri Lin <yurilin@google.com>2022-01-26 14:59:28 -0500
commit771f6d64912fda3de7875c49749fd6a0515933cb (patch)
tree1d69925f2df3a14224c6befbb05f8cbfb83f15ee /core/java/android/widget/TextView.java
parenteb59ea4c11e5bd5f6cc885e0e9213d71b82a7fe1 (diff)
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: 203806689 Test: ZenModeFilteringTest Change-Id: I84870436d5d8c6f24a57d4e54b848730a4c03778
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions