summaryrefslogtreecommitdiff
path: root/InCallUI/src/com/android/incallui/CallCardFragment.java
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-08-27 13:31:55 -0700
committerAndrew Lee <anwlee@google.com>2014-08-27 13:40:56 -0700
commit5f84e76212ab1ae15a507cb88f9a44557b640e80 (patch)
tree6bd077622d013623bdd3c0109f52fc7eabff2183 /InCallUI/src/com/android/incallui/CallCardFragment.java
parente6f5fe95a766240d36d74e4613c7cbeb9dcad778 (diff)
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
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallCardFragment.java')
-rw-r--r--InCallUI/src/com/android/incallui/CallCardFragment.java4
1 files changed, 3 insertions, 1 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();