diff options
author | Erika Avenberg <erika.avenberg@sonymobile.com> | 2014-08-30 12:00:47 +0200 |
---|---|---|
committer | Pengquan Meng <mpq@google.com> | 2017-09-18 15:21:08 -0700 |
commit | 0be6d7cbd85e0722a22a93205560f2caf37d8fb2 (patch) | |
tree | b29110a4866c44e9a9f338bc6df32e1349e2613f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ac421b8f44a2680736f67b997a3111bc2197aa43 (diff) |
Incorrect decoding when TP-OA contains non-integer information
When receiving a GSM SMS message where the TP-Originating-Address
(TP-OA) field contains non-integer information, it is currently
decoded incorrectly.
This CL adds support for decoding BCD according to spec:
ETSI TS 123 040 V9.3.0
Section: 9.1.2.3 Semi-octet representation
"If a mobile receives an address field containing non-integer
information in the semi-octets other than "1111" (e.g. 1110)
it shall display the semi-octet as the representation given
in GSM 44.008 [12] under "called BCD number", viz 1010="*",
1011="#", 1100="a", 1101="b", 1110="c"."
Bug: 65042708
Test: runtest --path frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmSmsTest.java --test-method testAddressing
Change-Id: Ied2d6ca4d84d5c3ca6cc5c4d9875d2ff2a8e5df9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions