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

Commit 5f430b6a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Empty text treated like null text"

parents 3357e7f9 43466969
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4909,7 +4909,7 @@ public class Notification implements Parcelable
                        ? ViewGroup.LayoutParams.WRAP_CONTENT
                        : ViewGroup.LayoutParams.MATCH_PARENT);
            }
            if (p.text != null) {
            if (p.text != null && p.text.length() != 0) {
                int textId = showProgress ? com.android.internal.R.id.text_line_1
                        : com.android.internal.R.id.text;
                contentView.setTextViewText(textId, processTextSpans(p.text));