alexchengalan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Contact lookup in CallerInfo fails on Android 2.0+ #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The contactUri constructed by

Uri contactUri = Uri.withAppendedPath(Contacts.Phones.CONTENT_FILTER_URL, 
Uri.encode(number));

results in no matches on Android 2.1-1 (SDK 7). However 

Uri contactUri = 
Uri.withAppendedPath(ContactsContract.PhoneLookup.CONTENT_FILTER_URI, 
Uri.encode(phoneNumber));

works as documented. No other changes. ]I found this while trying to get custom 
ringtones to play (Issue 122).

Original issue reported on code.google.com by dc3de...@gmail.com on 5 Aug 2010 at 12:20

GoogleCodeExporter commented 9 years ago
Completed, see r178. Needs testing on old (pre SDK5) phones. Related to Issue 
122.

Original comment by dc3de...@gmail.com on 5 Aug 2010 at 12:39

GoogleCodeExporter commented 9 years ago
Repaired for pre SDK5 devices. See r181.

Original comment by dc3de...@gmail.com on 5 Aug 2010 at 8:56