aboutsummaryrefslogtreecommitdiff
path: root/recovery.h
Commit message (Collapse)AuthorAgeFilesLines
* recovery: Allow bypassing signature verification on non-release buildsTom Marshall2022-08-291-0/+2
| | | | | | | | | | For non-release (userdebug, eng) builds, when signature verification fails, ask the user whether they wish to install anyway. [aleasto] Rewritten to minimize the diff footprint for maintainability Change-Id: I950ad455e6f698cabe348f0482eb64287cc88a08
* Move librecovery_ui to a sub-directoryTianjie Xu2019-03-211-1/+1
| | | | | | | | This helps to expose librecovery_ui for device specific RecoveryUi. Bug: 76436783 Test: mma, unit tests pass Change-Id: Ic6c3d301d5833e4a592e6ea9d9d059bc4e4919be
* 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