summaryrefslogtreecommitdiffstats
path: root/edify/include
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-04-28 22:31:11 +0200
committerYifan Hong <elsk@google.com>2020-05-08 04:25:26 +0200
commitdff80042750992ed635056cd9719481a14f93007 (patch)
tree7ceaaab834a5f056639d4c168a0a88b066981109 /edify/include
parentAdd slot suffix to DAP ops (diff)
downloadandroid_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.gz
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.bz2
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.lz
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.xz
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.zst
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.zip
Diffstat (limited to 'edify/include')
-rw-r--r--edify/include/edify/updater_runtime_interface.h3
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;
};