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

Commit b054f275 authored by Mark Wagner's avatar Mark Wagner
Browse files

null check

Change-Id: I3ee3efb8588a5b6b7368b8c5b0e43a07d1427ad8
parent ac96fa57
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 {