summaryrefslogtreecommitdiff
path: root/metrics_utils.h
diff options
context:
space:
mode:
authorSaurabh Nijhara <snijhara@google.com>2020-11-10 23:22:58 +0100
committerCommit Bot <commit-bot@chromium.org>2020-11-12 07:55:35 +0000
commit79fec2da41db55983cd45036deb17a2f76f934d8 (patch)
tree685296f327b220438df8fdfde13312a012bb7ef9 /metrics_utils.h
parentf36873504703bb43d785589ef797c3368b58b34c (diff)
update_engine: Add minimum version policy impl
This CL adds minimum version policy handler which checks if the current Chrome OS version is less than the highest version specified in the DeviceMinimumVersion policy. The intent is to consult this policy in a later CL in ChromeOSPolicy::UpdateCanBeApplied as download time restrictions will not be applied if current Chrome OS version is less than version provided by DeviceMinimumVersion policy. BUG=chromium:1117450 TEST=FEATURES=test emerge-${BOARD} update_engine Change-Id: I06ce66c4c85ac2718d9256c944160d63a6ac7e31 Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2530630 Commit-Queue: Saurabh Nijhara <snijhara@google.com> Tested-by: Saurabh Nijhara <snijhara@google.com> Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'metrics_utils.h')
0 files changed, 0 insertions, 0 deletions