summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-05-13 19:42:21 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-13 19:42:21 +0200
commit7875d824f9632ef7af6a1bbcef76f125cda71c08 (patch)
treeac504cb7b03cd61ef0b5312c99427f8678c95ead /edify
parentAdd slot suffix to DAP ops am: bc7e1db211 (diff)
parentMerge changes from topic "nonab_on_vab_r" into rvc-dev (diff)
downloadandroid_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.tar
android_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.tar.gz
android_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.tar.bz2
android_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.tar.lz
android_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.tar.xz
android_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.tar.zst
android_bootable_recovery-7875d824f9632ef7af6a1bbcef76f125cda71c08.zip
Diffstat (limited to 'edify')
-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;
};