Change-Id: I3e84348007c814993b71843f4022472c1cfe7498
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
if (__activeAppId.IsEmpty())
{
r = __pRegistry->GetValue(_POWER_MANAGER_REGISTRY_BRIGHTNESS_SECTION, _POWER_MANAGER_REGISTRY_ACTIVE_ID, __activeAppId);
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)
}
if (__command == _POWER_BRIGHTNESS_CHANGE)