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

Commit ef00c0b6 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Return null for getSubmitPdu() for encoding failure instead of NPE" am:...

Merge "Return null for getSubmitPdu() for encoding failure instead of NPE" am: 75214226 am: 8795408c am: 3948f043

Change-Id: If01fb8574e8ee81854d97259347befff71c6fbab
parents bbb5a454 3948f043
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -627,7 +627,7 @@ public class SmsMessage {
                    destinationAddress, message, statusReportRequested);
        }

        return new SubmitPdu(spb);
        return spb != null ? new SubmitPdu(spb) : null;
    }

    /**
@@ -655,7 +655,7 @@ public class SmsMessage {
                    destinationAddress, destinationPort, data, statusReportRequested);
        }

        return new SubmitPdu(spb);
        return spb != null ? new SubmitPdu(spb) : null;
    }

    // TODO: SubmitPdu class is used for SMS-DELIVER also now. Refactor for SubmitPdu and new