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

Skip to content
Commit b15b6bfb authored by Yujing Gu's avatar Yujing Gu Committed by Gerrit - the friendly Code Review server
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: 960870

Change-Id: I8b2cc44db5a50ae9e3e289440ae0b19368512382
parent 48b6b029
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment