diff options
author | Andrew Lee <anwlee@google.com> | 2014-08-27 22:42:11 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-27 22:42:12 +0000 |
commit | 03888112e34787243573eeaa6a0a1d47925fed71 (patch) | |
tree | 5be0d4fe44f918a8ea55be9cf304740cc96dc1d7 /InCallUI/src/com/android/incallui/ContactInfoCache.java | |
parent | 1d6df0c18333152f2601583e18b1893467f41b14 (diff) | |
parent | 5f84e76212ab1ae15a507cb88f9a44557b640e80 (diff) |
Merge "InCallUi image resource updates (mostly deletions)." into lmp-dev
Diffstat (limited to 'InCallUI/src/com/android/incallui/ContactInfoCache.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/ContactInfoCache.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/ContactInfoCache.java b/InCallUI/src/com/android/incallui/ContactInfoCache.java index 488e55bfc..fec319854 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; } |