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

Commit 437e59a2 authored by Mark Wagner's avatar Mark Wagner Committed by Android (Google) Code Review
Browse files

Merge "null check"

parents 6460d6e7 b054f275
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -424,7 +424,8 @@ public class PduPersister {
                    // faster.
                    if ("text/plain".equals(type) || "application/smil".equals(type)) {
                        String text = c.getString(PART_COLUMN_TEXT);
                        byte [] blob = new EncodedStringValue(text).getTextString();
                        byte [] blob = new EncodedStringValue(text != null ? text : "")
                            .getTextString();
                        baos.write(blob, 0, blob.length);
                    } else {