Loading telephony/java/android/telephony/SmsMessage.java +2 −2 Original line number Diff line number Diff line Loading @@ -627,7 +627,7 @@ public class SmsMessage { destinationAddress, message, statusReportRequested); } return new SubmitPdu(spb); return spb != null ? new SubmitPdu(spb) : null; } /** Loading Loading @@ -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 Loading Loading
telephony/java/android/telephony/SmsMessage.java +2 −2 Original line number Diff line number Diff line Loading @@ -627,7 +627,7 @@ public class SmsMessage { destinationAddress, message, statusReportRequested); } return new SubmitPdu(spb); return spb != null ? new SubmitPdu(spb) : null; } /** Loading Loading @@ -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 Loading