From 83bb97b0c5bf2bb468a7efcba36fd2bd58d64255 Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 4 Apr 2015 01:46:53 +0200 Subject: [PATCH] Revert "Potentially avoid creating new Typeface instances" This reverts commit 9df1a3ee80214f48f02dc8a9d3e01441ee37a24b. --- .../main/java/com/fsck/k9/fragment/MessageListFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java b/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java index 9f681cff5..4a5bf8f07 100644 --- a/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java +++ b/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java @@ -2072,7 +2072,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener } if (holder.from != null ) { - holder.from.setTypeface(holder.from.getTypeface(), maybeBoldTypeface); + holder.from.setTypeface(Typeface.create(holder.from.getTypeface(), maybeBoldTypeface)); if (mSenderAboveSubject) { holder.from.setCompoundDrawablesWithIntrinsicBounds( statusHolder, // left @@ -2095,7 +2095,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener null); // bottom } - holder.subject.setTypeface(holder.subject.getTypeface(), maybeBoldTypeface); + holder.subject.setTypeface(Typeface.create(holder.subject.getTypeface(), maybeBoldTypeface)); holder.subject.setText(subject); }