summaryrefslogtreecommitdiffstats
path: root/ril
diff options
context:
space:
mode:
authorMartin Bouchet <tincho5588@gmail.com>2017-09-23 05:43:12 -0300
committerChristopher N. Hesse <raymanfx@gmail.com>2018-01-21 13:28:18 +0100
commit0063444a40bcb4f30d17322882c26fa939c7364c (patch)
treea22eca6a048d2cacbdd055d0fbcb472b93a0f9cb /ril
parentdb968d4efd4284de663f1e077011e3242f3fdc97 (diff)
downloadandroid_hardware_samsung-0063444a40bcb4f30d17322882c26fa939c7364c.tar.gz
android_hardware_samsung-0063444a40bcb4f30d17322882c26fa939c7364c.tar.bz2
android_hardware_samsung-0063444a40bcb4f30d17322882c26fa939c7364c.zip
libril: port Samsung responseDataCallList to O libril
Change-Id: I1a1980e25b2ae1c496420fe3bfb0e8999e62f864
Diffstat (limited to 'ril')
-rw-r--r--ril/libril/ril_service.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ril/libril/ril_service.cpp b/ril/libril/ril_service.cpp
index 6978be4..9dc62b6 100644
--- a/ril/libril/ril_service.cpp
+++ b/ril/libril/ril_service.cpp
@@ -7053,7 +7053,11 @@ void convertRilDataCallToHal(RIL_Data_Call_Response_v6 *dcResponse,
dcResult.ifname = convertCharPtrToHidlString(dcResponse->ifname);
dcResult.addresses = convertCharPtrToHidlString(dcResponse->addresses);
dcResult.dnses = convertCharPtrToHidlString(dcResponse->dnses);
+#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM6260)
+ dcResult.gateways = convertCharPtrToHidlString(dcResponse->addresses);
+#else
dcResult.gateways = convertCharPtrToHidlString(dcResponse->gateways);
+#endif
dcResult.pcscf = hidl_string();
dcResult.mtu = 0;
}