diff options
author | Yorke Lee <yorkelee@google.com> | 2014-02-21 10:02:18 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-02-28 16:30:47 -0800 |
commit | 56cb0efa5eda1670077e66fc0e8c79478d0c1c67 (patch) | |
tree | da64925c0d47acb56889f3226859b4843bf0dcfe /tests | |
parent | 8b58491588d5128f23e5a6eee37baad77839b2ca (diff) |
Use new ContactPhotoManager APIs for letter tile avatars
*Modify the following uses of ContactPhotoManager.loadPhoto in the following
classes to include a DefaultImageRequest, populated with the contact's
display name, lookupkey, and contact type as necessary
CallDetailActivity
CallLogAdapter
PhoneFavoriteTileView
*Add utility methods to ContactInfoHelper, to parse a lookupUri for a lookup
key, as well as determine whether or not a contact is a business contact,
from its sourceType field.
*Add a sourceType field to PhoneCallDetails which can be used to track
whether or not PhoneCallDetails belongs to a business contact
*Add a lookupKey field to ContactInfo
Bug: 13101785
Change-Id: If339a9c038f92a0212f8f8b45b5e3cc5f6442562
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java index 6f5a98658..9b7d9de13 100644 --- a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java +++ b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java @@ -335,6 +335,6 @@ public class PhoneCallDetailsHelperTest extends AndroidTestCase { new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, TEST_FORMATTED_NUMBER, TEST_COUNTRY_ISO, TEST_GEOCODE, new int[]{ Calls.INCOMING_TYPE }, TEST_DATE, TEST_DURATION, - name, 0, "", null, null)); + name, 0, "", null, null, 0)); } } |