return ret;
}
} else if (kTizenFeatureCoreApiVersion == key) {
- *value = "2.3";
+ PlatformResult ret = SystemInfoDeviceCapability::GetNativeAPIVersion(value);
+ if (ret.IsError()) {
+ return ret;
+ }
} else if (key == kTizenFeaturePlatfromCoreCpuArch) {
PlatformResult ret = SystemInfoDeviceCapability::GetPlatfomCoreCpuArch(value);
if (ret.IsError()) {
PlatformResult SystemInfoDeviceCapability::IsNativeOspCompatible(bool* result) {
LoggerD("Enter");
-#ifdef PROFILE_WEARABLE
- *result = false;
- return PlatformResult(ErrorCode::NO_ERROR);
-#else
return GetValueBool(kTizenFeaturePlatformNativeOspCompatible, result);
-#endif
}
PlatformResult SystemInfoDeviceCapability::GetNativeAPIVersion(std::string* return_value) {
LoggerD("Enter");
-#ifdef PROFILE_WEARABLE
- *return_value = "";
- return PlatformResult(ErrorCode::NO_ERROR);
-#else
return GetValueString(kTizenFeaturePlatformNativeApiVersion, return_value);
-#endif
}
PlatformResult SystemInfoDeviceCapability::GetPlatformVersionName(std::string* result) {