32a1dcecca6ed0881431555a4218d0282814326c |
|
27-Aug-2009 |
Wink Saville <wink@google.com> |
temporary fix for bug 1892808. If the SMS address is a short code addr, don't feed it to PhoneNumberUtils.compare() as that doesn't handle short phone numbers. - if the SMS address is shorter than 6 digits, just do a straight string comparison now. SMS short codes don't usually have the separater characters like "(.- ", or the prefix '+'. - when updating the contact cache, don't spin up one thread per contact. Do all the contacts update in a single thread. - add a unit test for comparing SMS phone numbers and short codes. Disabled ConversationaListTest, it seems to get stuck for a long long time. Change-Id: I9fca4734c235466671ff72d144842bbbb0d7dda9
/packages/apps/Mms/tests/src/com/android/mms/ui/ConversationListTests.java
|