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

Commit c68d9422 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Fix IMS SMS calculateLength bug"

am: b51a15c4

Change-Id: I418bd42698b88b2e51e99a23ed3606a979c77218
parents 187aa2d0 b51a15c4
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);
    }
}