#include "common/logger.h"
#include "common/picojson.h"
#include "common/task-queue.h"
+#include "common/virtual_fs.h"
#include <system_settings.h>
auto get = [this, type, value, callback_id](const std::shared_ptr<picojson::value>& response) -> void {
LoggerD("Setting platform value");
- PlatformResult status = setPlatformPropertyValue(type, value);
+ std::string real_path = VirtualFs::GetInstance().GetRealPath(value);
+ PlatformResult status = setPlatformPropertyValue(type, real_path);
picojson::object& obj = response->get<picojson::object>();
if (status.IsSuccess()) {
ReportSuccess(obj);