platform_bootable_recovery/updater
Tao Bao 0a883c18f6 updater: Defer the creation of the new data writer.
This avoids leaving the created new data writer thread unjoined, in the
presence of transfer list parsing errors, or the early exit case on
`total_blocks == 0`.

Also fix a minor issue when dumping the errno on pthread_create error
(pthread_create returns the error number, as opposed to setting errno).

Test: Run recovery_component_test on marlin.
Change-Id: Icfac27fef0c64736eb8c76264da73c223b4960cb
2018-06-18 13:00:43 -07:00
..
include updater: Add Commmand class to manage BBOTA commands. 2018-05-25 15:26:42 -07:00
Android.mk updater: Add Commmand class to manage BBOTA commands. 2018-05-25 15:26:42 -07:00
blockimg.cpp updater: Defer the creation of the new data writer. 2018-06-18 13:00:43 -07:00
commands.cpp updater: Add Commmand class to manage BBOTA commands. 2018-05-25 15:26:42 -07:00
install.cpp Move reboot() from common.h into otautil/sysutil.h. 2018-05-03 23:18:38 -07:00
updater.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00