aboutsummaryrefslogtreecommitdiffstats
path: root/host/libs/config/cuttlefish_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/libs/config/cuttlefish_config.cpp')
-rw-r--r--host/libs/config/cuttlefish_config.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/libs/config/cuttlefish_config.cpp b/host/libs/config/cuttlefish_config.cpp
index 4a1a142ee..8012edae9 100644
--- a/host/libs/config/cuttlefish_config.cpp
+++ b/host/libs/config/cuttlefish_config.cpp
@@ -694,6 +694,14 @@ void CuttlefishConfig::set_ap_kernel_image(const std::string& ap_kernel_image) {
(*dictionary_)[kApKernelImage] = ap_kernel_image;
}
+static constexpr char kWmediumdConfig[] = "wmediumd_config";
+void CuttlefishConfig::set_wmediumd_config(const std::string& config) {
+ (*dictionary_)[kWmediumdConfig] = config;
+}
+std::string CuttlefishConfig::wmediumd_config() const {
+ return (*dictionary_)[kWmediumdConfig].asString();
+}
+
static constexpr char kRecordScreen[] = "record_screen";
void CuttlefishConfig::set_record_screen(bool record_screen) {
(*dictionary_)[kRecordScreen] = record_screen;