OSDN Git Service

Fix data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS
authorHenrik Hall <henrik.hall@sonyericsson.com>
Wed, 24 Feb 2010 11:53:13 +0000 (12:53 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 15 Apr 2011 10:24:31 +0000 (18:24 +0800)
commit10fc9678c0f9af8bc1f43c09aabde56fa128dbd3
tree48777022d08b95d40e8c3f020e6e74d2984eb9d3
parentaea7d5beb2d2cc4d49954f9d5158b8a53c3d7d31
Fix data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS

Fixing incorrect data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS
in Android RIL.

The Android RIL specifies that the unsolicited response signal
RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS should contain a raw byte array
(ril.h). However, in the implementation of the Java RIL and the C++
RIL daemon, the data is unpacked as a string. This causes data
delivered from the network stack to be garbled.

Changing so that both the C++ RIL deamon in platform/hardware/ril and
the Java RIL in frameworks/base follows the specification.

Change-Id: Ifa1b9907934256a46cba2b77a560873199e761dd
libril/ril_unsol_commands.h