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

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

Merge "Fix IMS SMS calculateLength bug" am: b51a15c4

am: c68d9422

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


    }
    }


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