From: Hokwon Song Date: Wed, 6 Nov 2013 09:50:13 +0000 (+0900) Subject: Fixed set brightness fail. X-Git-Tag: 2.2.1_release X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2F2.2.1_release;p=framework%2Fosp%2Fcommon-service.git Fixed set brightness fail. Change-Id: I3e84348007c814993b71843f4022472c1cfe7498 Signed-off-by: Hokwon Song --- diff --git a/src/system/FSys_PowerManagerStub.cpp b/src/system/FSys_PowerManagerStub.cpp index 45bc393..a08b3f9 100644 --- a/src/system/FSys_PowerManagerStub.cpp +++ b/src/system/FSys_PowerManagerStub.cpp @@ -176,9 +176,14 @@ _PowerManagerStub::OnRequestOccured(const ArrayList& request, ArrayList* respons if (__activeAppId.IsEmpty()) { r = __pRegistry->GetValue(_POWER_MANAGER_REGISTRY_BRIGHTNESS_SECTION, _POWER_MANAGER_REGISTRY_ACTIVE_ID, __activeAppId); - SysTryCatch(NID_SYS, r == E_SUCCESS, r = E_SYSTEM, r, - "It is failed to get the active id from registry"); - SysLog(NID_SYS, "Get the active id from registry [%ls].", __activeAppId.GetPointer()); + if (r == E_SUCCESS) + { + SysLog(NID_SYS, "Get the active id from registry [%ls].", __activeAppId.GetPointer()); + } + else + { + SysLog(NID_SYS, "It is failed to get the active id from registry"); + } } if (__command == _POWER_BRIGHTNESS_CHANGE)