Add circular photo support to ContactPhotoManager
* Use RoundedBitmapDrawable to draw circular bitmaps
* Add isCircular to DefaultImageRequest, and add circular
support to LetterTileDrawable
* Temporarily disable fading in contact photos using
TransitionImageDrawable
Bug: 13747208
Change-Id: I4d087b2dab701014297912ccb6cfac36ecffc673
diff --git a/src/com/android/contacts/common/list/ShortcutIntentBuilder.java b/src/com/android/contacts/common/list/ShortcutIntentBuilder.java
index 21819bb..b06e44e 100644
--- a/src/com/android/contacts/common/list/ShortcutIntentBuilder.java
+++ b/src/com/android/contacts/common/list/ShortcutIntentBuilder.java
@@ -254,7 +254,7 @@
return new BitmapDrawable(mContext.getResources(), bitmap);
} else {
return ContactPhotoManager.getDefaultAvatarDrawableForContact(mContext.getResources(),
- false, new DefaultImageRequest(displayName, lookupKey));
+ false, new DefaultImageRequest(displayName, lookupKey, false));
}
}