Fixed NID in macro. submit/tizen_2.1/20130514.054318
authoreh1112.kim <eh1112.kim@samsung.com>
Tue, 7 May 2013 11:11:05 +0000 (20:11 +0900)
committereh1112.kim <eh1112.kim@samsung.com>
Tue, 7 May 2013 11:11:05 +0000 (20:11 +0900)
Change-Id: Ida14742ba734453710e8a997191a5e81939cf4c8
Signed-off-by: eh1112.kim <eh1112.kim@samsung.com>
src/FTelSimStateManager.cpp [changed mode: 0644->0755]
src/FTel_SimEvent.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 2429991..0658d70
@@ -80,10 +80,10 @@ SimStateManager::SetSimEventListener(ITelephonySimEventListener* pListener)
        result r = E_SUCCESS;
 
        r = _AccessController::CheckUserPrivilege(_PRV_TELEPHONY);
-       SysTryReturnResult(NID_NET, r == E_SUCCESS, r, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_TEL, r == E_SUCCESS, r, "The application does not have the privilege to call this method.");
 
        r = __pSimStateManagerImpl->SetSimEventListener(pListener);
-       SysTryReturnResult(NID_NET, r == E_SUCCESS, r, "Propagating.");
+       SysTryReturnResult(NID_TEL, r == E_SUCCESS, r, "Propagating.");
 
        return r;
 }
@@ -96,10 +96,10 @@ SimStateManager::GetPinLockSetting(ISimStateManagerGetPinLockSettingResultListen
        result r = E_SUCCESS;
 
        r = _AccessController::CheckUserPrivilege(_PRV_TELEPHONY);
-       SysTryReturnResult(NID_NET, r == E_SUCCESS, r, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_TEL, r == E_SUCCESS, r, "The application does not have the privilege to call this method.");
 
        r = __pSimStateManagerImpl->GetPinLockSetting(pListener);
-       SysTryReturnResult(NID_NET, r == E_SUCCESS, r, "Propagating.");
+       SysTryReturnResult(NID_TEL, r == E_SUCCESS, r, "Propagating.");
 
        return r;
 }
@@ -112,7 +112,7 @@ SimStateManager::GetSimState(void) const
        result r = E_SUCCESS;
 
        r = _AccessController::CheckUserPrivilege(_PRV_TELEPHONY);
-       SysTryReturn(NID_NET, r == E_SUCCESS, SIM_STATE_UNKNOWN, r,
+       SysTryReturn(NID_TEL, r == E_SUCCESS, SIM_STATE_UNKNOWN, r,
                        "[%s] The application does not have the privilege to call this method.", GetErrorMessage(r));
 
        return __pSimStateManagerImpl->GetSimState();
@@ -126,10 +126,10 @@ SimStateManager::GetSimInfo(SimInfo& simInfo) const
        result r = E_SUCCESS;
 
        r = _AccessController::CheckUserPrivilege(_PRV_TELEPHONY);
-       SysTryReturnResult(NID_NET, r == E_SUCCESS, r, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_TEL, r == E_SUCCESS, r, "The application does not have the privilege to call this method.");
 
        r = __pSimStateManagerImpl->GetSimInfo(simInfo);
-       SysTryReturnResult(NID_NET, r == E_SUCCESS, r, "Propagating.");
+       SysTryReturnResult(NID_TEL, r == E_SUCCESS, r, "Propagating.");
 
        return r;
 }
old mode 100644 (file)
new mode 100755 (executable)
index 15a8379..a414302
@@ -64,9 +64,9 @@ _SimEvent::FireImpl(IEventListener& listener, const IEventArg& arg)
        switch(eventType)
        {
        case _SIM_EVENT_SIM_STATE_CHANGED:
-               SysLog(NID_NET, "Calling OnTelephonySimStateChanged().");
+               SysLog(NID_TEL, "Calling OnTelephonySimStateChanged().");
                pSimEventListener->OnTelephonySimStateChanged(pArg->GetSimState());
-               SysLog(NID_NET, "Called OnTelephonySimStateChanged().");
+               SysLog(NID_TEL, "Called OnTelephonySimStateChanged().");
                break;
        default:
                break;