platform_bootable_recovery/install
Kelvin Zhang a4208b5f90 Perform data wipe in recovery if ota package has powerwash set
Normally, if an ota package has --wipe_user_data flag, we set bootloader
parameter --wipe_data, so that next boot into bootloader will wipe
userdata. But this doesn't work in recovery, likely because after
recovery we don't reboot to bootloader, but directly boot into android.
Therefore perform data reset in recovery if the OTA package has
POWERWASH flag.

Bug: 203507329
Test: apply an OTA pkg with --wipe_user_data, verify that data wipe
happened

Change-Id: Icca4a5f74246bde44a5fd589395404c9f57867ee
2022-02-14 20:20:08 -08:00
..
include Perform data wipe in recovery if ota package has powerwash set 2022-02-14 20:20:08 -08:00
adb_install.cpp Perform data wipe in recovery if ota package has powerwash set 2022-02-14 20:20:08 -08:00
Android.bp Move package verifier from libinstall to libotautil 2021-12-22 23:31:08 +08:00
fuse_install.cpp Perform data wipe in recovery if ota package has powerwash set 2022-02-14 20:20:08 -08:00
install.cpp Perform data wipe in recovery if ota package has powerwash set 2022-02-14 20:20:08 -08:00
snapshot_utils.cpp Fix SnapshotManager instantiation. 2021-02-04 20:23:15 -08:00
spl_check.cpp Check SPL downgrade before install OTA in recovery 2021-05-17 16:25:00 -04:00
spl_check_unittests.cpp Check SPL downgrade before install OTA in recovery 2021-05-17 16:25:00 -04:00
wipe_data.cpp Bring up the erase animation early for data wipe 2021-03-02 16:42:07 -08:00
wipe_device.cpp Move package verifier from libinstall to libotautil 2021-12-22 23:31:08 +08:00