am 3fffdd37: make native sqlite phone_number_compare_loosely use MIN_MATCH of 7 instead of 5.
Merge commit '3fffdd3714c6d4de821269bcefb65d897151c2f2' into eclair-plus-aosp
* commit '3fffdd3714c6d4de821269bcefb65d897151c2f2':
make native sqlite phone_number_compare_loosely use MIN_MATCH of 7 instead of 5.
diff --git a/android/OldPhoneNumberUtils.cpp b/android/OldPhoneNumberUtils.cpp
index d3ae0a7..baeb3fe 100644
--- a/android/OldPhoneNumberUtils.cpp
+++ b/android/OldPhoneNumberUtils.cpp
@@ -22,7 +22,7 @@
namespace android {
-static int MIN_MATCH = 5;
+static int MIN_MATCH = 7;
/** True if c is ISO-LATIN characters 0-9 */
static bool isISODigit (char c)
@@ -186,7 +186,7 @@
* enough for caller ID purposes.
*
* - Compares from right to left
- * - requires MIN_MATCH (5) characters to match
+ * - requires MIN_MATCH (7) characters to match
* - handles common trunk prefixes and international prefixes
* (basically, everything except the Russian trunk prefix)
*