diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-01-17 19:47:32 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-01-17 19:49:35 +0100 |
commit | 7f61fdd8e881ea75345f39067fcf7a7cd80b9261 (patch) | |
tree | 4b4e93ec7605aabfde312cba371237c74be36e11 | |
parent | 52de937f8f8de5125cea32ffc4e82a47eecdb2ac (diff) | |
download | android_hardware_samsung-7f61fdd8e881ea75345f39067fcf7a7cd80b9261.tar.gz android_hardware_samsung-7f61fdd8e881ea75345f39067fcf7a7cd80b9261.tar.bz2 android_hardware_samsung-7f61fdd8e881ea75345f39067fcf7a7cd80b9261.zip |
xmm6262: Fix responseCallList() with xmm7260.
The CallDetails are part of the RIL_Call only the video call flag.
Change-Id: I9cd1d70bfba9cf33aea324a8a787e9521475ed40
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | ril/xmm6262/libril/ril.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/ril/xmm6262/libril/ril.cpp b/ril/xmm6262/libril/ril.cpp index 258c300..b5c124b 100644 --- a/ril/xmm6262/libril/ril.cpp +++ b/ril/xmm6262/libril/ril.cpp @@ -1840,11 +1840,12 @@ static int responseCallList(Parcel &p, void *response, size_t responselen) { p.writeInt32(p_cur->isVoice); #ifdef MODEM_TYPE_XMM7260 - /* Samsung CallDetails */ p.writeInt32(p_cur->isVideo); - p.writeInt32(p_cur->call_type); - p.writeInt32(p_cur->call_domain); - writeStringToParcel(p, p_cur->csv); + + /* Pass CallDetails */ + p.writeInt32(0); + p.writeInt32(0); + writeStringToParcel(p, ""); #endif p.writeInt32(p_cur->isVoicePrivacy); @@ -1875,7 +1876,12 @@ static int responseCallList(Parcel &p, void *response, size_t responselen) { p_cur->als, (p_cur->isVoice)?"voc":"nonvoc", (p_cur->isVoicePrivacy)?"evp":"noevp"); - appendPrintBuf("%s%s,cli=%d,name='%s',%d]", +#ifdef MODEM_TYPE_XMM7260 + appendPrintBuf("%s,%s,", + printBuf, + (p_cur->isVideo) ? "vid" : "novid"); +#endif + appendPrintBuf("%snumber='%s',cli=%d,name='%s',%d]", printBuf, p_cur->number, p_cur->numberPresentation, |