Change-Id: I69a0fd7f01d767bb72ea69f91668e5457acd716d
Signed-off-by: Joohyun Kim <joohyune.kim@samsung.com>
static const wchar_t* _SYSTEM_OK = L"osp.system.result.ok";
static const wchar_t* _SYSTEM_INVALID_ARG = L"osp.system.result.invalid_arg";
+static const wchar_t* _SYSTEM_OBJ_NOT_FOUND = L"osp.system.result.obj_not_found";
static const wchar_t* _SYSTEM_ERROR = L"osp.system.result.error";
_SystemClient* _SystemClient::__pSystemClient = null;
{
r = E_SUCCESS;
}
- else if(code == _SYSTEM_INVALID_ARG)
+ else if(code == _SYSTEM_OBJ_NOT_FOUND)
{
- r = E_INVALID_ARG;
+ r = E_OBJ_NOT_FOUND;
}
return r;
}
else
{
r = GetFromRegistry(tizenKey, value);
+
if(r != E_SUCCESS)
{
_SystemClient* pSystemClient = _SystemClient::GetInstance();
cameraCount++;
value = cameraCount;
- }
+ }
else
{
r = GetFromRegistry(tizenKey, value);
{
integerList.Add(new String(key), new Integer(value));
}
-
+
return r;
}
Collection::IList*
_SystemInfoImpl::GetSysInfoValuesN(const String& key, SystemInfoValueType type)
-{
+{
SetLastResult(E_OBJ_NOT_FOUND);
return null;
}