a4208b5f90
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 |
||
---|---|---|
.. | ||
include | ||
adb_install.cpp | ||
Android.bp | ||
fuse_install.cpp | ||
install.cpp | ||
snapshot_utils.cpp | ||
spl_check.cpp | ||
spl_check_unittests.cpp | ||
wipe_data.cpp | ||
wipe_device.cpp |