From: Taejin Woo Date: Thu, 2 Jul 2015 08:48:52 +0000 (+0900) Subject: Remove vconf value X-Git-Tag: accepted/tizen/mobile/20150708.015049^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F42786%2F1;p=platform%2Fadaptation%2Fbluetooth-firmware-bcm.git Remove vconf value Change-Id: I9551d5f47eff418d780a444563f3e9b823e8e576 Signed-off-by: Taejin Woo --- diff --git a/set-address/setbd.c b/set-address/setbd.c index f4497eb..013a92f 100644 --- a/set-address/setbd.c +++ b/set-address/setbd.c @@ -293,32 +293,6 @@ int make_bt_address(gboolean overwrite_bt_address) #endif } -void vconf_cb(keynode_t *key, void * data) -{ - char * key_string=NULL; - - switch(vconf_keynode_get_type(key)) - { - case VCONF_TYPE_STRING: - key_string=vconf_keynode_get_str(key); - if(strcmp(key_string,"")!=0) - { - APP_DEBUG("Vconf Call back trial\n"); - /* This case means TAPI writes IMEI correctly */ - /* Because we write BT address which comes from IMEI again */ - make_bt_address(TRUE); - g_main_loop_quit(loop); - } - - break; - - - default: - break; - } - return; -} - gboolean exit_cb(gpointer data) { @@ -340,12 +314,8 @@ int main() exit(0); #ifdef IMEI_BASED_RAND_FEATURE - vconf_notify_key_changed(VCONFKEY_TELEPHONY_IMEI,vconf_cb,NULL); - g_timeout_add_seconds(10,exit_cb,NULL); g_main_loop_run(loop); - - vconf_ignore_key_changed(VCONFKEY_TELEPHONY_IMEI,vconf_cb); #endif return 0;