From 5f84e76212ab1ae15a507cb88f9a44557b640e80 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 27 Aug 2014 13:31:55 -0700 Subject: InCallUi image resource updates (mostly deletions). - Deleted a ton of assets which were no longer used. + Automirrored some assets so their rtl copies could be removed. Bug: 15862303 Change-Id: I8aa832eead1768c82741fbe97268ea44ba0fc9ff --- InCallUI/src/com/android/incallui/ContactInfoCache.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'InCallUI/src/com/android/incallui/ContactInfoCache.java') diff --git a/InCallUI/src/com/android/incallui/ContactInfoCache.java b/InCallUI/src/com/android/incallui/ContactInfoCache.java index ccf5b794b..70a7f841e 100644 --- a/InCallUI/src/com/android/incallui/ContactInfoCache.java +++ b/InCallUI/src/com/android/incallui/ContactInfoCache.java @@ -312,10 +312,12 @@ public class ContactInfoCache implements ContactsAsyncHelper.OnImageLoadComplete if (info.cachedPhoto != null) { photo = info.cachedPhoto; } else { - photo = context.getResources().getDrawable(R.drawable.picture_unknown); + photo = context.getResources().getDrawable(R.drawable.img_no_image); + photo.setAutoMirrored(true); } } else if (info.contactDisplayPhotoUri == null) { - photo = context.getResources().getDrawable(R.drawable.picture_unknown); + photo = context.getResources().getDrawable(R.drawable.img_no_image); + photo.setAutoMirrored(true); } else { cce.displayPhotoUri = info.contactDisplayPhotoUri; } -- cgit v1.2.3