commit | 0c328d02c1546537478ffc575eed128e69fce84a | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Apr 28 13:31:11 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue May 19 15:20:14 2020 -0700 |
tree | 0477953cf26b4daf2e5041d0f8a808f4119e7749 | |
parent | 35d5e9f4cf5ef31f3155d107a6111fb8442b409b [diff] [blame] |
Add add_slot_suffix function. This function appends androidboot.slot_suffix to the value of the argument. Test: apply update Bug: 153581609 Change-Id: I28a4047b5f2051acc039084f65a71deb492d9dcb (cherry picked from commit dff80042750992ed635056cd9719481a14f93007) Merged-In: I28a4047b5f2051acc039084f65a71deb492d9dcb
diff --git a/updater/simulator_runtime.cpp b/updater/simulator_runtime.cpp index 3ed7bf3..57dfb32 100644 --- a/updater/simulator_runtime.cpp +++ b/updater/simulator_runtime.cpp
@@ -130,3 +130,8 @@ } return true; } + +std::string SimulatorRuntime::AddSlotSuffix(const std::string_view arg) const { + LOG(INFO) << "Skip adding slot suffix to " << arg; + return std::string(arg); +}