Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0912135 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Don't put a null in a spannablestringbuilder"

parents 860397d8 7afb1d7a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -312,7 +312,7 @@ public class NotificationStation extends SettingsPreferenceFragment {
        if (n.extras != null) {
            title = n.extras.getCharSequence(Notification.EXTRA_TITLE);
        }
        return title == null? null : String.valueOf(title);
        return title == null? "" : String.valueOf(title);
    }

    /**
@@ -339,7 +339,7 @@ public class NotificationStation extends SettingsPreferenceFragment {
                text = n.extras.getCharSequence(Notification.EXTRA_TEXT);
            }
        }
        return text == null ? null : String.valueOf(text);
        return text == null ? "" : String.valueOf(text);
    }

    private Drawable loadIcon(HistoricalNotificationInfo info, StatusBarNotification sbn) {