platform_bootable_recovery/updater
Tianjie Xu 162558382b Allow recovery to return error codes
Write error code, cause code, and retry count into last_install. So we
can have more information about the reason of a failed OTA.

Example of new last_install:
@/cache/recovery/block.map     package name
0                              install result
retry: 1                       retry count (new)
error: 30                      error code (new)
cause: 12                      error cause (new)

Details in:
go/android-ota-errorcode

Bug: 28471955
Change-Id: I00e7153c821e7355c1be81a86c7f228108f3dc37
2016-05-20 13:56:53 -07:00
..
Android.mk resolve merge conflicts of 7b6027dde4 to master. 2016-02-04 11:26:29 -08:00
blockimg.cpp Allow recovery to return error codes 2016-05-20 13:56:53 -07:00
blockimg.h installer for new block OTA system 2014-08-19 16:53:39 -07:00
install.cpp Allow recovery to return error codes 2016-05-20 13:56:53 -07:00
install.h updater: Add a function to check first block 2016-01-07 11:19:48 -08:00
updater.cpp Allow recovery to return error codes 2016-05-20 13:56:53 -07:00
updater.h installer for new block OTA system 2014-08-19 16:53:39 -07:00