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

Commit cebdb5fb authored by Pavel Kucera's avatar Pavel Kucera Committed by Danny Baumann
Browse files

don't set the reserved bits0 and 1 for UCS2 encoded messages

fixes SMS troubles for Chinese users
0x0b was not a Class 3 specification as the bit 4 was set to 0
parent 7e3ec79d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -324,8 +324,8 @@ public class SmsMessage extends SmsMessageBase{
                return null;
            }
            // TP-Data-Coding-Scheme
            // Class 3, UCS-2 encoding, uncompressed
            bo.write(0x0b);
            // UCS-2 encoding, uncompressed
            bo.write(0x08);
        }

        // (no TP-Validity-Period)