remove mdm exception
authorJunyong Sim <junyong.sim@samsung.com>
Fri, 9 Nov 2012 10:34:39 +0000 (19:34 +0900)
committerJunyong Sim <junyong.sim@samsung.com>
Fri, 9 Nov 2012 10:35:53 +0000 (19:35 +0900)
Change-Id: I14d80ad954f8195c271f3bb4f2a37d6a518adfd4

packaging/ug-nfc-efl.spec
ug-nfc-setting-efl/src/ug-nfc-setting-main.c
ug-nfc-share-efl/src/ug-nfc-share-main.c

index d3ce0a5..09359a9 100644 (file)
@@ -5,7 +5,7 @@
 Name:       ug-nfc-efl
 Summary:    UI gadget about the nfc
 Version:    0.0.2
-Release:    36
+Release:    37
 Group:      TO_BE/FILLED_IN
 License:    Samsung Proprietary License
 Source0:    %{name}-%{version}.tar.gz
index cad3b18..97732c5 100644 (file)
@@ -339,11 +339,7 @@ static void _change_nfc_onoff_setting(void *data)
                LOGD("[%s(): %d] vconf_get_bool status [%d]\n", __FUNCTION__, __LINE__, status);
 
                result = nfc_manager_set_activation(!status, NULL, NULL);
-               if (result == NFC_ERROR_SECURITY_RESTRICTED)
-               {
-                       _mdm_restricted_popup(ug_data);
-                       return;
-               }
+
                _set_pending_status(TRUE);
        }
        else
index 3e29c1d..5db072b 100644 (file)
@@ -481,11 +481,7 @@ static void _setting_on_YesNo_popup_response_cb(void *data, Evas_Object *obj, vo
                LOGD("setting is on >>>>", __FUNCTION__, __LINE__);
 
                result = nfc_manager_set_activation(TRUE, _activation_completed_cb, ug_data);
-               if (result == NFC_ERROR_SECURITY_RESTRICTED)
-               {
-                       LOGD("mdmPopup_timer START ");
-                       mdmPopup_timer = ecore_timer_add(0.25, _mdm_restricted_popup, ug_data);
-               }
+
                break;
 
        case UG_NFC_POPUP_RESP_CANCEL :