summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker_unittest.py
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-08-13 13:59:54 -0700
committerSemavi Ulusoy <doc.divxm@gmail.com>2021-07-06 00:34:42 +0300
commitf8285b8a772d21a22b4048d724698b6f41e23d06 (patch)
tree5067a297a75060069ddb1b9ab8f3e2e5b0458e8e /scripts/update_payload/checker_unittest.py
parente43822610e3940e03fb715c8c66a34c34428b483 (diff)
Check allocatable space correctly when sideloading on VAB
On a device with Virtual A/B, when sideloading and there's not enough space in super partition to hold CoW, update_engine falls back to overwriting all source partitions. In that case, the allocatable space should be the whole super partition, not a half of it. Also update doc comments. Test: unit test. RecoveryErrorShouldDeleteSource fails without the patch but succeeds with the patch. Bug: 163613538 Change-Id: I6bd6895a7eabeb4e8436e57b0ac6830c11d1e98f
Diffstat (limited to 'scripts/update_payload/checker_unittest.py')
0 files changed, 0 insertions, 0 deletions