Allow smart dialing to ignore country code/area code

Add handling of country codes if the number starts with a '+' prefix
Also add special case handling for NANP numbers in SmartDialTrie
if we determine that the user is in North America.
Save user's SIM country ISO into SharedPreferences.
Add SmartDialNameMatcher methods to correctly match NANP numbers
Fix tests to use assertTrue/assertFalse instead of assertEquals

Bug 8292294
Change-Id: Ic61dac75ee3b772986d3008240bbda81322c8f31
7 files changed
tree: 5d7ca86c71674740d652ecab7a252ba6a59ef3ae
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.flags