summaryrefslogtreecommitdiffstats
path: root/recovery.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* recovery: Refactor common setup into main()Jerry Zhang2018-05-161-0/+24
Move more common setup into the main function. Main() handles all 1 time setup, such as ui, logging, and secontext. Recovery_main() takes in command line arguments, does any necessary recovery work, and can be called multiple times from main(). Test: Recovery works Bug: 78793464 Change-Id: I2d2595fc342b4ddfa80f4e06b30e44263132acd9 Merged-In: I2d2595fc342b4ddfa80f4e06b30e44263132acd9