diff options
| author | 2019-01-18 13:55:25 -0800 | |
|---|---|---|
| committer | 2019-01-18 17:09:33 -0800 | |
| commit | 45433e44ddd8a4628f650832c5eeee8f1d1ba8be (patch) | |
| tree | e5c760edefe89a5e7635d3c43b027d83058c4c02 /tools/extract_kernel.py | |
| parent | 7cda7650da0088192531e6c5fafd524365ce3774 (diff) | |
Really support removing / adding partitions.
- When removing a partition, BlockDifference() object
will have tgt=EmptyImage(). Fix the asserts accordingly.
Also, BlockDifference object now allow tgt=None case.
- When adding a partition, BlockDifference() object
will have src=None. Fix the asserts accordingly.
Also, add unit tests to DynamicPartitionsDifference.
Test: create incremental OTA
Test: test_common.DynamicPartitionsDifferenceTest
Bug: 111801737
Change-Id: I3a35378ecf93111b8f44545cff6ae9696b6b4851
Diffstat (limited to 'tools/extract_kernel.py')
0 files changed, 0 insertions, 0 deletions