Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b28132bf authored by Paul Keith's avatar Paul Keith Committed by Dan Pasanen
Browse files

SensitivePhoneNumbers: Fix number comparison

* 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
parent 25c63e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment