projects
/
platform
/
framework
/
native
/
appfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Exception on SystemInfo
[platform/framework/native/appfw.git]
/
src
/
system
/
FSys_SystemInfoImpl.cpp
diff --git
a/src/system/FSys_SystemInfoImpl.cpp
b/src/system/FSys_SystemInfoImpl.cpp
index
dde4c2e
..
701b2f0
100644
(file)
--- a/
src/system/FSys_SystemInfoImpl.cpp
+++ b/
src/system/FSys_SystemInfoImpl.cpp
@@
-436,6
+436,7
@@
_SystemInfoImpl::GetSysInfo(const String& key, String& value)
else
{
r = GetFromRegistry(tizenKey, value);
else
{
r = GetFromRegistry(tizenKey, value);
+
if(r != E_SUCCESS)
{
_SystemClient* pSystemClient = _SystemClient::GetInstance();
if(r != E_SUCCESS)
{
_SystemClient* pSystemClient = _SystemClient::GetInstance();
@@
-482,7
+483,7
@@
_SystemInfoImpl::GetSysInfo(const String& key, int& value)
cameraCount++;
value = cameraCount;
cameraCount++;
value = cameraCount;
- }
+ }
else
{
r = GetFromRegistry(tizenKey, value);
else
{
r = GetFromRegistry(tizenKey, value);
@@
-497,7
+498,7
@@
_SystemInfoImpl::GetSysInfo(const String& key, int& value)
{
integerList.Add(new String(key), new Integer(value));
}
{
integerList.Add(new String(key), new Integer(value));
}
-
+
return r;
}
return r;
}
@@
-556,7
+557,7
@@
_SystemInfoImpl::GetSysInfo(const String& key, UuId& value)
Collection::IList*
_SystemInfoImpl::GetSysInfoValuesN(const String& key, SystemInfoValueType type)
Collection::IList*
_SystemInfoImpl::GetSysInfoValuesN(const String& key, SystemInfoValueType type)
-{
+{
SetLastResult(E_OBJ_NOT_FOUND);
return null;
}
SetLastResult(E_OBJ_NOT_FOUND);
return null;
}