OSDN Git Service

Sending empty strings instead of NULL for some RIL requests
authorRuthwar Kumar Ambeer <ruthwar@codeaurora.org>
Thu, 23 Mar 2017 12:08:56 +0000 (17:38 +0530)
committerJack Yu <jackyu@google.com>
Fri, 27 Oct 2017 21:21:26 +0000 (14:21 -0700)
commit7c37381c93c54cf4ce64e345a87b5fa0c28bb077
tree9d1093bd044ae45638599d3afdf457309226c5cc
parent9e633f39569b26a95a1c289e5a6dac9d39ce477f
Sending empty strings instead of NULL for some RIL requests

Some vendor RILs expect empty string instead of NULL pointer
for certain RIL requets. For RIL_REQUEST_ENTER_SIM_PIN,
RIL_REQUEST_ENTER_SIM_PUK, RIL_REQUEST_ENTER_SIM_PIN2,
RIL_REQUEST_ENTER_SIM_PUK2, RIL_REQUEST_CHANGE_SIM_PIN,
RIL_REQUEST_CHANGE_SIM_PIN2,
RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION
RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_INITIAL_ATTACH_APN, RIL_REQUEST_SET_DATA_PROFILE,
RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION,
RIL_REQUEST_SET_FACILITY_LOCK,
RIL_REQUEST_CHANGE_BARRING_PASSWORD, sending empty string instead
of NULL.

Test: Manual
Bug: 3778268365653485
Change-Id: I6627c8a12e096b9ac8ebe08e734782cfa951c488
libril/ril_service.cpp