Fix settings crash

Test: post notification with an action with a null title, view
notification widget
Fixes: 250836823

Change-Id: I56707c628b3fcc7d6823e4b3736dd26e3d98dfa7
This commit is contained in:
Julia Reynolds
2023-02-27 16:24:21 -05:00
parent e39c0bbe8b
commit 57a42d2a93

View File

@@ -581,7 +581,7 @@ public class NotificationStation extends SettingsPreferenceFragment {
.append(bold(getString(
R.string.notification_log_details_title)))
.append(delim)
.append(action.title);
.append(action.title != null ? action.title : "");
if (action.actionIntent != null) {
sb.append("\n ")
.append(bold(getString(