commit | ad970fc055f44e6835b3893b3c64f80e0f9f8911 | [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 | a6e288a17831e08e7cc9ba4834ca534e5da3f1d5 [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