make native sqlite phone_number_compare_loosely use MIN_MATCH of 7 instead of 5.
Change-Id: Ie0dde105e810c07e05471182cd0c0f81045731ef
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)
*