commit | e4a6ed853416232b25bd51da61864b5e3096fd12 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Mon Mar 30 14:54:49 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Tue Mar 31 10:54:58 2020 -0700 |
tree | 2171a51c2c5bd8ae7ba6c232fcee53f40cb1ff62 | |
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