summaryrefslogtreecommitdiff
path: root/android/OldPhoneNumberUtils.cpp
diff options
context:
space:
mode:
authorWei Huang <weih@google.com>2009-08-31 19:18:23 -0700
committerWei Huang <weih@google.com>2009-08-31 20:08:39 -0700
commit0d04c4caa9c0464f555eed458abf2ac7d997ad7d (patch)
treecffa20a5af1f3ce5036a62354d9658b8d3b1a153 /android/OldPhoneNumberUtils.cpp
parentb020ccd8772182ddfccba30b5adbc500982b59c1 (diff)
fix bug 2015059: where the native sqlite comparison method phone_number_compare() treated all alpha addresses as the same phone number.
- changed phone_number_compare() to handle alpha chars. Before this change the algorithm skipped over all non-dialable chars for comparison, and thus treating "foo" and "bar" as the same addresses. now we don't skip any char that's alpha. This would treat "foo" and "bar" as separate addresses, as well as treating "1-800-flowers" and "800-flowers" as the same number.
Diffstat (limited to 'android/OldPhoneNumberUtils.cpp')
0 files changed, 0 insertions, 0 deletions