Commit 978c1081 authored by Colin Howes's avatar Colin Howes Committed by chrome-bot
Browse files

update_attempter: Set is_install_ to false when doing a rollback.

We weren't setting is_install_ when performing a rollback, meaning it
was potentially left uninitialized or had a stale value from a previous
install/update attempt. Explicitly set is_install_ in Rollback() and in
the UpdateAttempter constructor.

BUG=chromium:905704
TEST=Add a unittest.

Change-Id: I19b646d689cab869a2aca0cd82def252c370184b
Reviewed-on: https://chromium-review.googlesource.com/1359109


Commit-Ready: Colin Howes <chowes@google.com>
Tested-by: default avatarColin Howes <chowes@google.com>
Reviewed-by: default avatarAmin Hassani <ahassani@chromium.org>
parent f9e56564
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment