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

Commit b51a15c4 authored by Brad Ebinger's avatar Brad Ebinger Committed by Gerrit Code Review
Browse files

Merge "Fix IMS SMS calculateLength bug"

parents b78cce7b a5b46891
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -267,8 +267,8 @@ public final class SMSDispatcherUtil {
     */
    public static TextEncodingDetails calculateLengthGsm(CharSequence messageBody,
            boolean use7bitOnly) {
        return com.android.internal.telephony.cdma.SmsMessage.calculateLength(messageBody,
                use7bitOnly, false);
        return com.android.internal.telephony.gsm.SmsMessage.calculateLength(messageBody,
                use7bitOnly);

    }

@@ -281,7 +281,7 @@ public final class SMSDispatcherUtil {
     */
    public static TextEncodingDetails calculateLengthCdma(CharSequence messageBody,
            boolean use7bitOnly) {
        return com.android.internal.telephony.gsm.SmsMessage.calculateLength(messageBody,
                use7bitOnly);
        return com.android.internal.telephony.cdma.SmsMessage.calculateLength(messageBody,
                use7bitOnly, false);
    }
}