diff options
author | Henrik Hall <henrik.hall@sonyericsson.com> | 2010-02-24 12:52:06 +0100 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-05-11 13:17:40 -0700 |
commit | 232a69851d8f208a73d8b4ddb39708828ae9f205 (patch) | |
tree | 167a69ca23dc82643d621e810e1dd27eda4ddf57 /telephony | |
parent | 0a5174a6e947d5cbeb8846a1273a90b6de065cbf (diff) | |
download | frameworks_base-232a69851d8f208a73d8b4ddb39708828ae9f205.zip frameworks_base-232a69851d8f208a73d8b4ddb39708828ae9f205.tar.gz frameworks_base-232a69851d8f208a73d8b4ddb39708828ae9f205.tar.bz2 |
Fix data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS in RIL.
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: I9b9b26d16cd39422c43d9fa7aadfcff3e60c78ae
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/RIL.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/RIL.java b/telephony/java/com/android/internal/telephony/RIL.java index 7239889..8ec1d61 100644 --- a/telephony/java/com/android/internal/telephony/RIL.java +++ b/telephony/java/com/android/internal/telephony/RIL.java @@ -2329,7 +2329,7 @@ public final class RIL extends BaseCommands implements CommandsInterface { case RIL_UNSOL_RESTRICTED_STATE_CHANGED: ret = responseInts(p); break; case RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED: ret = responseVoid(p); break; case RIL_UNSOL_RESPONSE_CDMA_NEW_SMS: ret = responseCdmaSms(p); break; - case RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS: ret = responseString(p); break; + case RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS: ret = responseRaw(p); break; case RIL_UNSOL_CDMA_RUIM_SMS_STORAGE_FULL: ret = responseVoid(p); break; case RIL_UNSOL_ENTER_EMERGENCY_CALLBACK_MODE: ret = responseVoid(p); break; case RIL_UNSOL_CDMA_CALL_WAITING: ret = responseCdmaCallWaiting(p); break; |