Also set system version to ForcedUpdate. am: f87e5cd57a
am: c497759451
Change-Id: Ib2d2c5cd90a2656ee8d7743fd7111dd253c16721
diff --git a/omaha_request_params.cc b/omaha_request_params.cc
index 9e78a93..97a2ed1 100644
--- a/omaha_request_params.cc
+++ b/omaha_request_params.cc
@@ -77,10 +77,14 @@
LOG(INFO) << "Running from channel " << image_props_.current_channel;
os_platform_ = constants::kOmahaPlatformName;
- if (!image_props_.system_version.empty())
+ if (!image_props_.system_version.empty()) {
+ if (in_app_version == "ForcedUpdate") {
+ image_props_.system_version = in_app_version;
+ }
os_version_ = image_props_.system_version;
- else
+ } else {
os_version_ = OmahaRequestParams::kOsVersion;
+ }
if (!in_app_version.empty())
image_props_.version = in_app_version;