diff options
author | Tom Cherry <tomcherry@google.com> | 2020-03-30 14:54:49 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-03-31 10:54:58 -0700 |
commit | e4a6ed853416232b25bd51da61864b5e3096fd12 (patch) | |
tree | 2171a51c2c5bd8ae7ba6c232fcee53f40cb1ff62 /trusty/coverage/coverage.cpp | |
parent | db22f23dd325fe11103d7c8a4304bde179b8b5c7 (diff) |
fastbootd: sync() after flashing partitions or updating super
There is a chance that devices are failing to reboot in the lab due to
sync() taking explicitly long during reboot. Let's add the sync()'s
here to ensure they get accounted for in the flashing process.
A side benefit is it's likely safer to sync immediately after
flashing than to hope init does it during reboot.
Bug: 150863651
Test: flash local devices successfully
Change-Id: I4c4b0114f3cde8af4b8b2cb283ec21f869ef9f6f
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions