summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Moyer <bdm310@gmail.com>2015-09-11 00:18:01 -0400
committerLorDClockaN <davor@losinj.com>2015-09-14 16:24:36 +0200
commit096deda6f53092c8215ee70bcab62e2db874f578 (patch)
treebf8e6a899ab75b89ee4ae35f4c6ea5e8f85a7376
parent958df26cb998ea61b510c40b0bcc7ae00fe85a2f (diff)
Enable ': ' added after sender in notification bar ticker
Changed to show ': ' if there is a subject or body. Originally would not be shown unless there was both a subject and body. Changed by commit 28a2460b95edfcf903837698909dc063302a93aa Change-Id: Ifb663ef08351ec1503b55aa9e6c2e92a1ac7b6c5
-rw-r--r--src/com/android/mms/transaction/MessagingNotification.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/mms/transaction/MessagingNotification.java b/src/com/android/mms/transaction/MessagingNotification.java
index f9c2aec1..2eb7e561 100644
--- a/src/com/android/mms/transaction/MessagingNotification.java
+++ b/src/com/android/mms/transaction/MessagingNotification.java
@@ -1458,7 +1458,7 @@ public class MessagingNotification {
displayAddress == null
? ""
: displayAddress.replace('\n', ' ').replace('\r', ' '));
- if (!TextUtils.isEmpty(subject) && !TextUtils.isEmpty(body)) {
+ if (!TextUtils.isEmpty(subject) || !TextUtils.isEmpty(body)) {
buf.append(':').append(' ');
}