commit | 30d421780f69a1be87a6e361de03854371ada355 | [log] [tgz] |
---|---|---|
author | Mengjun Leng <mengju@codeaurora.org> | Tue May 23 19:40:50 2017 +0800 |
committer | Mengjun Leng <mengju@codeaurora.org> | Fri Jun 02 14:19:26 2017 +0800 |
tree | 749a8f1483400f1865936fff33ef153124e4ed71 | |
parent | 36fdb346f2245ca235b0fbde90b7da60606d54e5 [diff] |
Fix wrong reading the sms lengh of stored long sms in RUIM According to 3GGP2 C.S0023 3.4.27, the maximum length of the message is 255. For one byte casts to int, the result will be a negative value when larger than 127, so must use 0xFF to transfer byte to int first. Change-Id: Ia3d64cae91f12a46ef7a1602300b44209a353966