libsecril-client: Expose MSIM functions by default
authorChristopher N. Hesse <raymanfx@gmail.com>
Tue, 21 Feb 2017 21:54:34 +0000 (22:54 +0100)
committerChristopher N. Hesse <raymanfx@gmail.com>
Wed, 22 Feb 2017 11:01:04 +0000 (11:01 +0000)
Recent devices (zero, noble, others) link audio-ril
against this.

Change-Id: If774ff378f519b221594e8b793a95831cacd4ae4

ril/libsecril-client/secril-client.cpp
ril/libsecril-client/secril-client.h

index ffb249469e29a2efded8707bb4238066d9a8d0fd..3277b1dcdd47f1daf0289fd795c3d87b7859794f 100755 (executable)
@@ -36,9 +36,7 @@ namespace android {
 #define RILD_PORT               7777
 #define MULTI_CLIENT_SOCKET_NAME "Multiclient"
 #define MULTI_CLIENT_Q_SOCKET_NAME "QMulticlient"
-#if defined(SEC_PRODUCT_FEATURE_RIL_CALL_DUALMODE_CDMAGSM)
 #define MULTI_CLIENT_SOCKET_NAME_2 "Multiclient2"
-#endif
 
 #define MAX_COMMAND_BYTES       (8 * 1024)
 #define REQ_POOL_SIZE           32
@@ -470,7 +468,6 @@ int Connect_QRILD(HRilClient client) {
     return RIL_CLIENT_ERR_SUCCESS;
 }
 
-#if defined(SEC_PRODUCT_FEATURE_RIL_CALL_DUALMODE_CDMAGSM)    // mook_120209 Enable multiclient
 /**
  * @fn    int Connect_RILD_Second(void)
  *
@@ -534,7 +531,6 @@ int Connect_RILD_Second(HRilClient client)    {
 
     return RIL_CLIENT_ERR_SUCCESS;
 }
-#endif
 
 /**
  * @fn  int isConnected_RILD(HRilClient client)
index 0e82cde80daa30b7fefc6c16c60bb4f07985fe4c..4c4c2b006345768e0d528910a9eaf8b391db1582 100755 (executable)
@@ -75,13 +75,12 @@ int Connect_RILD(HRilClient client);
  */
 int Connect_QRILD(HRilClient client);
 
-#if defined(SEC_PRODUCT_FEATURE_RIL_CALL_DUALMODE_CDMAGSM)
 /**
  * Connect to RIL deamon. One client task starts.
  * Return is 0 or error code.
  */
 int Connect_RILD_Second(HRilClient client);
-#endif
+
 /**
  * check whether RILD is connected
  * Returns 0 or 1