enable temporary disabled code 79/50779/1
authorGukhwan Cho <gh78.cho@samsung.com>
Mon, 2 Nov 2015 06:49:51 +0000 (15:49 +0900)
committerGukhwan Cho <gh78.cho@samsung.com>
Mon, 2 Nov 2015 06:49:51 +0000 (15:49 +0900)
Change-Id: I7f33e1c8f3eeaaa7c19b9d93d0f554a31b707eec
Signed-off-by: Gukhwan Cho <gh78.cho@samsung.com>
server/ctsvc_number_utils.c

index 4abed71..97f9845 100644 (file)
@@ -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)