Use circular support in ContactPhotoManager
Bug: 13747208
Change-Id: I39932fc22ab13317430c13034c4c4c2725662999
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java
index 470c0b6..decfe9b 100644
--- a/src/com/android/dialer/CallDetailActivity.java
+++ b/src/com/android/dialer/CallDetailActivity.java
@@ -745,9 +745,9 @@
private void loadContactPhotos(Uri photoUri, String displayName, String lookupKey,
int contactType) {
final DefaultImageRequest request = new DefaultImageRequest(displayName, lookupKey,
- contactType);
+ contactType, false);
mContactPhotoManager.loadPhoto(mContactBackgroundView, photoUri,
- mContactBackgroundView.getWidth(), true, request);
+ mContactBackgroundView.getWidth(), true, false /* isCircular */, request);
}
static final class ViewEntry {