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

Skip to content
Commit 3a3cffc2 authored by Mengjun Leng's avatar Mengjun Leng Committed by Steve Kondik
Browse files

Telephony: Only one short sms can be read if long sms copied to CT card

According to 3GGP2 C.S0023 3.4.27, the maximum length of the message
is 255. But in java, byte cast to int, the result will be expanded when
byte value larger than 127.

To fix it, using 0xFF transfer byte to int type first.

CRs-Fixed: 706038

Change-Id: I8b2cc44db5a50ae9e3e289440ae0b19368512382
parent c319d4d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment