libsecril-client: Expose MSIM functions by default

Recent devices (zero, noble, others) link audio-ril
against this.

Change-Id: If774ff378f519b221594e8b793a95831cacd4ae4
tirimbino
Christopher N. Hesse 8 years ago
parent a9d8bf6af4
commit 5eda55f20a
  1. 4
      ril/libsecril-client/secril-client.cpp
  2. 3
      ril/libsecril-client/secril-client.h

@ -36,9 +36,7 @@ namespace android {
#define RILD_PORT 7777 #define RILD_PORT 7777
#define MULTI_CLIENT_SOCKET_NAME "Multiclient" #define MULTI_CLIENT_SOCKET_NAME "Multiclient"
#define MULTI_CLIENT_Q_SOCKET_NAME "QMulticlient" #define MULTI_CLIENT_Q_SOCKET_NAME "QMulticlient"
#if defined(SEC_PRODUCT_FEATURE_RIL_CALL_DUALMODE_CDMAGSM)
#define MULTI_CLIENT_SOCKET_NAME_2 "Multiclient2" #define MULTI_CLIENT_SOCKET_NAME_2 "Multiclient2"
#endif
#define MAX_COMMAND_BYTES (8 * 1024) #define MAX_COMMAND_BYTES (8 * 1024)
#define REQ_POOL_SIZE 32 #define REQ_POOL_SIZE 32
@ -470,7 +468,6 @@ int Connect_QRILD(HRilClient client) {
return RIL_CLIENT_ERR_SUCCESS; return RIL_CLIENT_ERR_SUCCESS;
} }
#if defined(SEC_PRODUCT_FEATURE_RIL_CALL_DUALMODE_CDMAGSM) // mook_120209 Enable multiclient
/** /**
* @fn int Connect_RILD_Second(void) * @fn int Connect_RILD_Second(void)
* *
@ -534,7 +531,6 @@ int Connect_RILD_Second(HRilClient client) {
return RIL_CLIENT_ERR_SUCCESS; return RIL_CLIENT_ERR_SUCCESS;
} }
#endif
/** /**
* @fn int isConnected_RILD(HRilClient client) * @fn int isConnected_RILD(HRilClient client)

@ -75,13 +75,12 @@ int Connect_RILD(HRilClient client);
*/ */
int Connect_QRILD(HRilClient client); int Connect_QRILD(HRilClient client);
#if defined(SEC_PRODUCT_FEATURE_RIL_CALL_DUALMODE_CDMAGSM)
/** /**
* Connect to RIL deamon. One client task starts. * Connect to RIL deamon. One client task starts.
* Return is 0 or error code. * Return is 0 or error code.
*/ */
int Connect_RILD_Second(HRilClient client); int Connect_RILD_Second(HRilClient client);
#endif
/** /**
* check whether RILD is connected * check whether RILD is connected
* Returns 0 or 1 * Returns 0 or 1

Loading…
Cancel
Save