diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:20:45 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:20:45 +0000 |
commit | a3c56c701abdb8158c54f35c8d79160f0db96bd3 (patch) | |
tree | ad781ef0fce3e589113f81ce3eb45c95b4f6f3d8 /common/dynamic_partition_control_interface.h | |
parent | fd962e1427b1b0faa9d81c7d67eab14e5094c7e5 (diff) | |
parent | 0571324ffc1fe8cc27c32e592c16c85a665a99e1 (diff) |
Snap for 7149879 from 0571324ffc1fe8cc27c32e592c16c85a665a99e1 to sc-release
Change-Id: I67f338740537b7943201968f550c5487491cff0b
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
-rw-r--r-- | common/dynamic_partition_control_interface.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/dynamic_partition_control_interface.h b/common/dynamic_partition_control_interface.h index 8368eeb0..61127d4e 100644 --- a/common/dynamic_partition_control_interface.h +++ b/common/dynamic_partition_control_interface.h @@ -134,11 +134,13 @@ class DynamicPartitionControlInterface { // allocated space for snapshot updates. virtual bool ResetUpdate(PrefsInterface* prefs) = 0; - // Reads the dynamic partitions metadata from the current slot, and puts the + // Reads the dynamic partitions metadata from the given slot, and puts the // name of the dynamic partitions with the current suffix to |partitions|. // Returns true on success. virtual bool ListDynamicPartitionsForSlot( - uint32_t current_slot, std::vector<std::string>* partitions) = 0; + uint32_t slot, + uint32_t current_slot, + std::vector<std::string>* partitions) = 0; // Finds a possible location that list all block devices by name; and puts // the result in |path|. Returns true on success. |