diff options
| author | Yifan Hong <elsk@google.com> | 2020-08-13 13:59:54 -0700 |
|---|---|---|
| committer | Semavi Ulusoy <doc.divxm@gmail.com> | 2021-07-06 00:34:42 +0300 |
| commit | f8285b8a772d21a22b4048d724698b6f41e23d06 (patch) | |
| tree | 5067a297a75060069ddb1b9ab8f3e2e5b0458e8e /scripts/update_payload/format_utils_unittest.py | |
| parent | e43822610e3940e03fb715c8c66a34c34428b483 (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/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions
