Update Exception on SystemInfo
[platform/framework/native/appfw.git] / src / system / FSys_SystemInfoImpl.cpp
index dde4c2e..701b2f0 100644 (file)
@@ -436,6 +436,7 @@ _SystemInfoImpl::GetSysInfo(const String& key, String& value)
        else
        {
                r = GetFromRegistry(tizenKey, value);
+
                if(r != E_SUCCESS)
                {
                        _SystemClient* pSystemClient = _SystemClient::GetInstance();
@@ -482,7 +483,7 @@ _SystemInfoImpl::GetSysInfo(const String& key, int& value)
                        cameraCount++;
 
                value = cameraCount;
-       }       
+       }
        else
        {
                r = GetFromRegistry(tizenKey, value);
@@ -497,7 +498,7 @@ _SystemInfoImpl::GetSysInfo(const String& key, int& value)
        {
                integerList.Add(new String(key), new Integer(value));
        }
-       
+
        return r;
 }
 
@@ -556,7 +557,7 @@ _SystemInfoImpl::GetSysInfo(const String& key, UuId& value)
 
 Collection::IList*
 _SystemInfoImpl::GetSysInfoValuesN(const String& key, SystemInfoValueType type)
-{      
+{
        SetLastResult(E_OBJ_NOT_FOUND);
        return null;
 }