summaryrefslogtreecommitdiff
path: root/update_manager/policy_test_utils.h
diff options
context:
space:
mode:
authorAaron Wood <aaronwood@google.com>2017-10-06 14:48:25 -0700
committerAaron Wood <aaronwood@google.com>2017-12-06 21:57:58 +0000
commit23bd339a82b350f146dd93cd0bcbe75f1a24a7b3 (patch)
tree9d95b09af54d3316f919b7a8a61a46c4ab288a9b /update_manager/policy_test_utils.h
parent52c8a30e37aea474769310a4a670c47221417831 (diff)
Allow Policies to defer updates
The OmahaResponseHandlerAction consults with the Policy to confirm if the generated InstallPlan can be actioned or not. If not, then the UpdateAttempter reports to Omaha that the update has been deferred and reverts to a status of IDLE. This causes an API-visible transition through REPORTING_ERROR, before ending at IDLE. Bug: 66016687 Test: unit-tests, manual OTA Change-Id: I5c31a04975586630dd6a9c373022f1b407bef4e8 (cherry picked from 8a5f6317a60c6e54917f115bdf190f46653a225a)
Diffstat (limited to 'update_manager/policy_test_utils.h')
0 files changed, 0 insertions, 0 deletions