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

Commit bd681a04 authored by Xia Ying's avatar Xia Ying Committed by Amit Mahajan
Browse files

Assisted dialing support of Multi-part SMS

Bug: 18951323
Change-Id: I55eff2d5c7b8447acf0d2fc067ea443c34febc49
parent 04ddc0ec
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -468,6 +468,8 @@ public class IccSmsInterfaceManager {
            return;
        }

        destAddr = filterDestAddress(destAddr);

        if (parts.size() > 1 && parts.size() < 10 && !SmsMessage.hasEmsSupport()) {
            for (int i = 0; i < parts.size(); i++) {
                // If EMS is not supported, we have to break down EMS into single segment SMS
@@ -929,6 +931,8 @@ public class IccSmsInterfaceManager {
            return;
        }

        textAndAddress[1] = filterDestAddress(textAndAddress[1]);

        if (parts.size() > 1 && parts.size() < 10 && !SmsMessage.hasEmsSupport()) {
            for (int i = 0; i < parts.size(); i++) {
                // If EMS is not supported, we have to break down EMS into single segment SMS
@@ -956,7 +960,6 @@ public class IccSmsInterfaceManager {
            return;
        }

        textAndAddress[1] = filterDestAddress(textAndAddress[1]);
        mDispatcher.sendMultipartText(
                textAndAddress[1], // destAddress
                scAddress,