X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fsystem%2FFSys_SystemInfoImpl.cpp;h=701b2f083953e16414e6a4c4ba265107846034bc;hb=b8bf7f11fcebb3ffec79829bf70c0657efc4dd0a;hp=dde4c2e56284238c093575bc917cacf345b8fe9a;hpb=cc50db7f28c99b0cc92554e374a96590db289aba;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/src/system/FSys_SystemInfoImpl.cpp b/src/system/FSys_SystemInfoImpl.cpp index dde4c2e..701b2f0 100644 --- 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); + 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; }