diff --git a/k9mail/src/main/java/com/fsck/k9/notification/NotificationContentCreator.java b/k9mail/src/main/java/com/fsck/k9/notification/NotificationContentCreator.java
index 0c1251b8e..ec878934b 100644
--- a/k9mail/src/main/java/com/fsck/k9/notification/NotificationContentCreator.java
+++ b/k9mail/src/main/java/com/fsck/k9/notification/NotificationContentCreator.java
@@ -4,8 +4,6 @@ package com.fsck.k9.notification;
import android.content.Context;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
-import android.text.style.TextAppearanceSpan;
-import timber.log.Timber;
import com.fsck.k9.Account;
import com.fsck.k9.K9;
@@ -16,14 +14,12 @@ import com.fsck.k9.helper.MessageHelper;
import com.fsck.k9.mail.Address;
import com.fsck.k9.mail.Flag;
import com.fsck.k9.mail.Message;
-import com.fsck.k9.mail.MessagingException;
import com.fsck.k9.mailstore.LocalMessage;
import com.fsck.k9.message.extractors.PreviewResult.PreviewType;
class NotificationContentCreator {
private final Context context;
- private TextAppearanceSpan emphasizedSpan;
public NotificationContentCreator(Context context) {
@@ -60,9 +56,7 @@ class NotificationContentCreator {
preview.append('\n');
preview.append(snippet);
}
-
- preview.setSpan(getEmphasizedSpan(), 0, displaySubject.length(), 0);
-
+
return preview;
}
@@ -91,8 +85,6 @@ class NotificationContentCreator {
summary.append(" ");
summary.append(subject);
- summary.setSpan(getEmphasizedSpan(), 0, sender.length(), 0);
-
return summary;
}
@@ -133,12 +125,4 @@ class NotificationContentCreator {
private String getMessageSenderForDisplay(String sender) {
return (sender != null) ? sender : context.getString(R.string.general_no_sender);
}
-
- private TextAppearanceSpan getEmphasizedSpan() {
- if (emphasizedSpan == null) {
- emphasizedSpan = new TextAppearanceSpan(context,
- R.style.TextAppearance_StatusBar_EventContent_Emphasized);
- }
- return emphasizedSpan;
- }
}
diff --git a/k9mail/src/main/res/values-v21/styles.xml b/k9mail/src/main/res/values-v21/styles.xml
deleted file mode 100644
index d3d90657f..000000000
--- a/k9mail/src/main/res/values-v21/styles.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
diff --git a/k9mail/src/main/res/values/styles.xml b/k9mail/src/main/res/values/styles.xml
index 8fd3127d1..f21f428b1 100644
--- a/k9mail/src/main/res/values/styles.xml
+++ b/k9mail/src/main/res/values/styles.xml
@@ -18,10 +18,6 @@
- @android:color/primary_text_light
-
-