| commit | 3406c772a36296275c1e5a2e0721c2be1a7b7db1 | [log] [tgz] |
|---|---|---|
| author | Tao Bao <tbao@google.com> | Wed Jan 02 15:34:35 2019 -0800 |
| committer | Treehugger Robot <treehugger-gerrit@google.com> | Fri Jan 04 18:37:54 2019 +0000 |
| tree | c9119fa899a4c547fc01c6195cf7eebe0d0a77bf | |
| parent | 1bafff885ba760a82b65e25ec1ca544559fdddcb [diff] |
Call InitPartitionMetadata when resuming an update.
BootControlAndroid::InitPartitionMetadata() should always be called when
starting / resuming an update that uses dynamic partitions. This allows
updating the metadata for the target slot, as well as setting up the
internal state for accessing the dynamic partitions in the target slot.
Bug: 122097567
Test: Run update_engine_unittests on taimen and blueline.
Test: Apply a payload that uses dynamic partitions. Reboot before it
finishes, then resume the update.
Change-Id: I1353f7460a61c0183654b6349689beaa9bf12129