Use BuildState::UpdateType instead of installed_version
BuildState::installed_version() returns the platform version instead of the browser version number. So, using BuildState::UpdateType to make sure that the current update is not a rollback. Bug: 1048607 Change-Id: I726548db6df944f5176b766dacd65fba33a5f1af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2237889Reviewed-by:Maksim Ivanov <emaxx@chromium.org> Commit-Queue: Saurabh Nijhara <snijhara@google.com> Cr-Commit-Position: refs/heads/master@{#778999}
Showing
Please register or sign in to comment