summaryrefslogtreecommitdiff
path: root/common/dynamic_partition_control_interface.h
diff options
context:
space:
mode:
authorSaurabh Nijhara <snijhara@google.com>2020-11-11 14:10:47 +0100
committerCommit Bot <commit-bot@chromium.org>2020-11-16 11:04:41 +0000
commitac83488b5d904320a4af8355fee3284ef311036c (patch)
tree689ae0dbdb0c8d2b73ea47696505d825be366962 /common/dynamic_partition_control_interface.h
parent538bd590de3245349050d38f9ca197deb3eaa2a4 (diff)
update_engine: Add enterprise rollback update policy impl
This CL adds a new rollback update policy which checks if the update to be downloaded is a rollback by checking the value of InstallPlan::is_rollback which is set in omaha_response_handler_action. The intent is to consult this policy in a later CL in ChromeOSPolicy::UpdateCanBeApplied as download time restrictions will not be applied if current update being downloaded is a rollback. BUG=chromium:1117450 TEST=FEATURES=test emerge-${BOARD} update_engine Change-Id: Ib3a23a57fb60d4d0e983688f78941cdbd587718e Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2532793 Reviewed-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> Tested-by: Saurabh Nijhara <snijhara@google.com> Commit-Queue: Saurabh Nijhara <snijhara@google.com>
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions