diff options
author | Paul Keith <javelinanddart@gmail.com> | 2017-07-06 16:12:12 -0500 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2018-01-27 13:55:42 +0000 |
commit | b28132bf1993233eee7aa5f4dc76473f581cb954 (patch) | |
tree | 1e27b986c192f02330f2ad31018f85547886f4db /src/com/android/server/telecom/MultiLineTitleEditTextPreference.java | |
parent | 25c63e8c2672f324ac46479db7226e0630927738 (diff) | |
download | android_packages_services_Telecomm-staging/lineage-15.1.tar.gz android_packages_services_Telecomm-staging/lineage-15.1.tar.bz2 android_packages_services_Telecomm-staging/lineage-15.1.zip |
SensitivePhoneNumbers: Fix number comparisonstaging/lineage-15.1
* Currently, we just compare the strings for equality,
which results in incorrect detection of sensitive nums
a lot of the time, because adding (or removing) the
country code is enough to make the detection fail,
meaning the call to that phone number is logged
* Use Android's PhoneNumberUtils comparison method to
fix this, since it takes these factors into account
Change-Id: I26ac180f8a6552cf87a4bada1d370f0ebb884ee1
Diffstat (limited to 'src/com/android/server/telecom/MultiLineTitleEditTextPreference.java')
0 files changed, 0 insertions, 0 deletions