mozilla-b2g/gaia — pull request #3789 by steveck-chung (2012-08-24 09:34:05+00:00)
Title: Sms - Counrty code number threading by using external phone number library.

- We use google libphonenumber and closure library to parse national number and international number for threading different number format together.

- Changes in message sending:
- It will convert the phone number to international format and store in message DB. Therefore we don't need to query national format and international format every time. Every number in DB will be international format.

- Changes in message display:
- It will convert to national format and display in thread list and title. If the number is not convertible, it will display original number from DB.

- Change in contact:
- It will use national format for searching the contact name first. If national format could not match any contact data, it will search again with original number.

- Since it will store the phone number with international format, please clear out the old messages before testing.

- The contact part does not test carefully because the contact API got some issues currently. Please verify again when the contact API issue fixed.