diff options
Diffstat (limited to 'InCallUI/src/com/android/incallui')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardFragment.java | 4 | ||||
-rw-r--r-- | InCallUI/src/com/android/incallui/ContactInfoCache.java | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index 600689c84..f5e718c8b 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -432,6 +432,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr if (isConference) { name = getConferenceString(isGeneric); photo = getConferencePhoto(isGeneric); + photo.setAutoMirrored(true); nameIsNumber = false; } @@ -596,7 +597,8 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr private void setDrawableToImageView(ImageView view, Drawable photo) { if (photo == null) { - photo = view.getResources().getDrawable(R.drawable.picture_unknown); + photo = view.getResources().getDrawable(R.drawable.img_no_image); + photo.setAutoMirrored(true); } final Drawable current = view.getDrawable(); 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; } |