diff options
author | Mengjun Leng <mengju@codeaurora.org> | 2017-05-23 19:40:50 +0800 |
---|---|---|
committer | Mengjun Leng <mengju@codeaurora.org> | 2017-06-02 14:19:26 +0800 |
commit | 30d421780f69a1be87a6e361de03854371ada355 (patch) | |
tree | 749a8f1483400f1865936fff33ef153124e4ed71 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions