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

Commit b4060c87 authored by Zongheng Wang's avatar Zongheng Wang
Browse files

Rename createSmsSubmitPdu to createFromNativeSmsSubmitPdu in Bluetooth MAP profile

Bug: 183051612
Tag: #compatibility
Test: atest bluetooth_test_common
Change-Id: I9fad89c50ee40741e3b0e61026e48f4ecdf629d4
parent 4c3e0a88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ public class BluetoothMapSmsPdu {
        String ret = "";
        if (type == SMS_TYPE_CDMA) {
            /* This is able to handle both submit and deliver PDUs */
            SmsMessage smsMessage = SmsMessage.createSmsSubmitPdu(data, true);
            SmsMessage smsMessage = SmsMessage.createFromNativeSmsSubmitPdu(data, true);
            if (smsMessage != null) {
                ret = smsMessage.getMessageBody();
            }