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)
committerJean-Baptiste Queru <jbq@google.com>
Tue, 11 May 2010 20:15:46 +0000 (13:15 -0700)
commit6152f97ae4af620ed3d63826b4a8062358e564f6
tree72a59f008303d31630eb9a683c8af4f38117030d
parentbdbc6b00454c6d634746578bd851cc33cdfe5318
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