Add device config option to switch to strict phone number matcher
Also show the current mode in dumpsys.
Fix: 129980402
Test: dumpsys-activity provider com.android.providers.contacts/.ContactsProvider2
Before and after:
$ adb shell device_config put contacts_provider use_strict_phone_number_comparison true
Change-Id: I1d1bb066547709f7b32794c8d2abc2bf4dcfce55
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 559e60f..2da56fc 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -16,6 +16,7 @@
<uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.USE_RESERVED_DISK" />
+ <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
<permission
android:name="android.permission.SEND_CALL_LOG_CHANGE"