From cae7386fc253d7e33d61219c061d0c36b659a3b7 Mon Sep 17 00:00:00 2001 From: "eh1112.kim" Date: Tue, 7 May 2013 20:11:05 +0900 Subject: [PATCH] Fixed NID in macro. Change-Id: Ida14742ba734453710e8a997191a5e81939cf4c8 Signed-off-by: eh1112.kim --- src/FTelSimStateManager.cpp | 14 +++++++------- src/FTel_SimEvent.cpp | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) mode change 100644 => 100755 src/FTelSimStateManager.cpp mode change 100644 => 100755 src/FTel_SimEvent.cpp diff --git a/src/FTelSimStateManager.cpp b/src/FTelSimStateManager.cpp old mode 100644 new mode 100755 index 2429991..0658d70 --- a/src/FTelSimStateManager.cpp +++ b/src/FTelSimStateManager.cpp @@ -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; } diff --git a/src/FTel_SimEvent.cpp b/src/FTel_SimEvent.cpp old mode 100644 new mode 100755 index 15a8379..a414302 --- a/src/FTel_SimEvent.cpp +++ b/src/FTel_SimEvent.cpp @@ -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; -- 2.7.4