From dab8574772371fb86a6a9ee41b03c434713257fa Mon Sep 17 00:00:00 2001 From: Gukhwan Cho Date: Mon, 2 Nov 2015 15:49:51 +0900 Subject: [PATCH] enable temporary disabled code Change-Id: I7f33e1c8f3eeaaa7c19b9d93d0f554a31b707eec Signed-off-by: Gukhwan Cho --- server/ctsvc_number_utils.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/server/ctsvc_number_utils.c b/server/ctsvc_number_utils.c index 4abed71..97f9845 100644 --- a/server/ctsvc_number_utils.c +++ b/server/ctsvc_number_utils.c @@ -277,7 +277,6 @@ static TapiHandle *handle_for_cc = NULL; char* ctsvc_get_network_cc(bool reload) { -#if 0 // for build int i; int state; int ret; @@ -324,7 +323,7 @@ char* ctsvc_get_network_cc(bool reload) break; } } -#endif + return cc; } @@ -335,7 +334,6 @@ static void __ctsvc_network_cc_changed(TapiHandle *handle, const char *noti_id, void* ctsvc_init_tapi_handle_for_cc() { -#if 0 // for build if (handle_for_cc) return handle_for_cc; @@ -347,20 +345,18 @@ void* ctsvc_init_tapi_handle_for_cc() } else CTS_ERR("tel_init fail"); -#endif + return handle_for_cc; } void ctsvc_deinit_tapi_handle_for_cc() { -#if 0 // for build if (handle_for_cc) { int ret = tel_deregister_noti_event(handle_for_cc, TAPI_PROP_NETWORK_PLMN); WARN_IF(ret != TAPI_API_SUCCESS, "tel_register_noti_event Fail(%d)", ret); tel_deinit(handle_for_cc); } handle_for_cc = NULL; -#endif } static inline int __ctsvc_phone_number_has_country_code(const char *src, int len) -- 2.7.4