Report system_version in os version. am: 3faf4e7c91 am: da3cc9808d am: 1b20be5a2b
am: a6f4daf4a5
Change-Id: I70615bb08a97c54d45de81b4556a1dfcf1c46d54
diff --git a/omaha_request_params.cc b/omaha_request_params.cc
index 3402451..3ba7037 100644
--- a/omaha_request_params.cc
+++ b/omaha_request_params.cc
@@ -77,7 +77,10 @@
LOG(INFO) << "Running from channel " << image_props_.current_channel;
os_platform_ = constants::kOmahaPlatformName;
- os_version_ = OmahaRequestParams::kOsVersion;
+ if (!image_props_.system_version.empty())
+ os_version_ = image_props_.system_version;
+ else
+ os_version_ = OmahaRequestParams::kOsVersion;
if (!in_app_version.empty())
image_props_.version = in_app_version;