summaryrefslogtreecommitdiff
path: root/common/action_processor_unittest.cc
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@chromium.org>2018-04-05 16:25:44 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-07-25 19:45:32 -0700
commit0882a5198b58173044e8b4b28eb4d30b1bcfe230 (patch)
tree88e94f8f72d3005b8f2403366d1198e544867513 /common/action_processor_unittest.cc
parentd3f4bea600867b4ee85074869d723ba070db0ae7 (diff)
update_engine: Pospone setgoodkernel after update check
Currently, if an update is forced, we first run setgoodkernel and then continue with the update check. However, this delays the update check screen in the OOBE. This patch adds a new Action, UpdateBootFlagsAction which is configured to run AFTER an update check and response. However, now if the update check failed due for example the response was invalid, then setgoodkernel will not happen. But we already have a mechanism in SystemState where setgoodkernel is always called (currently) 45 seconds after the boot. So there would no worries. BUG=chromium:807976 TEST=unittests TEST=powerwashed the device, and the check for update passed faster on OOBE. Change-Id: I5845d7a4c1393aec568b6279dfbb7d3dfa31cdd8 Reviewed-on: https://chromium-review.googlesource.com/1011244 Commit-Ready: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'common/action_processor_unittest.cc')
0 files changed, 0 insertions, 0 deletions