summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-06-03 19:26:58 -0700
committerAlex Deymo <deymo@google.com>2016-06-09 12:03:47 -0700
commita918f9daede277d043e5b3b8443d712c88c949da (patch)
treeeea5ee53370dac528217cc0a3066ba39b2d3e94f /scripts/update_payload/format_utils.py
parent04e0a4ef9a20bf71e0e4103456c2b3d5b7d2b89d (diff)
Implement powerwash on Android.
Powerwash, the name for the equivalent of a factory reset or /data wipe, can be triggered in Android by writing the desired command to the recovery command file and rebooting into recovery. This patch moves the powerwash scheduling/canceling logic to the HardwareInterface and implements it on Android. Bug: 28700985 TEST=Called update_engine_client passing POWERWASH=1, BCB is stored up to offset 832. (cherry picked from commit fb905d9b8d49f8fe41297c7aba2dd0942f1be311) Change-Id: I66f9473c10fbe8f56e9000ce3e605b2bee345db8
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions