commit | 23bd339a82b350f146dd93cd0bcbe75f1a24a7b3 | [log] [tgz] |
---|---|---|
author | Aaron Wood <aaronwood@google.com> | Fri Oct 06 14:48:25 2017 -0700 |
committer | Aaron Wood <aaronwood@google.com> | Wed Dec 06 21:57:58 2017 +0000 |
tree | 9d95b09af54d3316f919b7a8a61a46c4ab288a9b | |
parent | 52c8a30e37aea474769310a4a670c47221417831 [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)