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

Commit 33770e95 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Fix wrong reading the sms lengh of stored long sms in RUIM" am:...

Merge "Fix wrong reading the sms lengh of stored long sms in RUIM" am: c8ad4a82 am: 649f3bf7 am: 56ed1f9c
am: 2869e575

Change-Id: I5e70bd06ae409eb17989a3767b862d997d04cda2
parents 9f2f7a50 2869e575
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -161,7 +161,7 @@ public class SmsMessage extends SmsMessageBase {


            // Second byte is the MSG_LEN, length of the message
            // Second byte is the MSG_LEN, length of the message
            // See 3GPP2 C.S0023 3.4.27
            // See 3GPP2 C.S0023 3.4.27
            int size = data[1];
            int size = data[1] & 0xFF;


            // Note: Data may include trailing FF's.  That's OK; message
            // Note: Data may include trailing FF's.  That's OK; message
            // should still parse correctly.
            // should still parse correctly.