commit | 6008717060204e96c0e127269c11ed1195c14076 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Aug 27 14:01:16 2019 -0700 |
committer | David Anderson <dvander@google.com> | Tue Aug 27 14:03:44 2019 -0700 |
tree | 59e9d9be8153043e709c6a86c93e5e8ae1a30011 | |
parent | f82444522b8d65b307f1e831bb7e9d3313ba3c3d [diff] |
fastbootd: Cancel snapshots when modifying partitions. When flashing or resizing partitions, remove the LP_PARTITION_ATTR_UPDATED flag. This will cause first-stage init to skip any snapshots for that partition, and the backing storage (if any) will later be reclaimed. Bug: 139155473 Test: manual test Change-Id: I3b185f68dfecb5a93636af0b5ae289ead1363fd0