SettingSecurityUG *ad = (SettingSecurityUG *)user_data;
+ /* delete popup */
+ if(ad->sim_popup)
+ {
+ evas_object_del(ad->sim_popup);
+ ad->sim_popup = NULL;
+ }
+
int old_state = elm_check_state_get(ad->data_pin_lk->eo_check);
if (old_state) {
SETTING_TRACE("Current status of PIN Lock is ON");
return;
}
+ /* create popup */
+ if(ad->sim_popup)
+ {
+ evas_object_del(ad->sim_popup);
+ ad->sim_popup = NULL;
+ }
+ ad->sim_popup = setting_create_popup_without_btn(ad, ad->win_get,
+ NULL, _("Waiting response of SIM ..."),
+ NULL,
+ 0, FALSE, FALSE);
+
if(tel_get_sim_lock_info(ad->handle, TAPI_SIM_LOCK_SC, get_pin_lock_info_cb, ad) != 0)
{
SETTING_TRACE_ERROR("failed to call tel_get_sim_lock_info()");
SettingSecurityUG *ad = (SettingSecurityUG *)user_data;
+ /* delete popup */
+ if(ad->sim_popup)
+ {
+ evas_object_del(ad->sim_popup);
+ ad->sim_popup = NULL;
+ }
+
int old_state = elm_check_state_get(ad->data_sim_lk->eo_check);
if (old_state) {
SETTING_TRACE("Current status of SIM Lock is ON");
if(ret == SETTING_RETURN_FAIL)
return;
+ /* create popup */
+ if(ad->sim_popup)
+ {
+ evas_object_del(ad->sim_popup);
+ ad->sim_popup = NULL;
+ }
+ ad->sim_popup = setting_create_popup_without_btn(ad, ad->win_get,
+ NULL, _("Waiting response of SIM ..."),
+ NULL,
+ 0, FALSE, FALSE);
+
if(tel_get_sim_lock_info(ad->handle, TAPI_SIM_LOCK_PS, get_sim_lock_info_cb, ad) != 0)
{
SETTING_TRACE_ERROR("failed to call tel_get_sim_lock_info()");