diff options
author | Yifan Hong <elsk@google.com> | 2020-04-28 22:31:11 +0200 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-05-20 00:20:14 +0200 |
commit | 0c328d02c1546537478ffc575eed128e69fce84a (patch) | |
tree | 0477953cf26b4daf2e5041d0f8a808f4119e7749 /edify | |
parent | Add slot suffix to DAP ops (diff) | |
download | android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.gz android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.bz2 android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.lz android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.xz android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.zst android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.zip |
Diffstat (limited to 'edify')
-rw-r--r-- | edify/include/edify/updater_runtime_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/edify/include/edify/updater_runtime_interface.h b/edify/include/edify/updater_runtime_interface.h index d3d26da64..bdd6aecc8 100644 --- a/edify/include/edify/updater_runtime_interface.h +++ b/edify/include/edify/updater_runtime_interface.h @@ -71,4 +71,7 @@ class UpdaterRuntimeInterface { virtual bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) = 0; virtual bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) = 0; virtual bool UpdateDynamicPartitions(const std::string_view op_list_value) = 0; + + // On devices supports A/B, add current slot suffix to arg. Otherwise, return |arg| as is. + virtual std::string AddSlotSuffix(const std::string_view arg) const = 0; }; |