diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2020-11-17 16:31:39 -0500 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2020-11-17 16:31:39 -0500 |
commit | b348ac90d6033b686d93dbfb227cc4fb1f868d8e (patch) | |
tree | 0acb618c08ef9d63e1b12388a5540c09f20689bf | |
parent | 9dc3c070c58a644bb54b08808aa0a39627e0cf09 (diff) | |
download | sdl_core-b348ac90d6033b686d93dbfb227cc4fb1f868d8e.tar.gz |
Re-add messages field in policy table jsonfix/gpcd_consumer_friendly_messages
consumer_friendly_messages.messages was being omitted from the policy table json rather than just the snapshot, this reintroduces this field (this field is still cleared out when generating the snapshot in `CheckSnapshotInitialization`)
-rw-r--r-- | src/components/policy/policy_external/src/policy_table/types.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/policy/policy_external/src/policy_table/types.cc b/src/components/policy/policy_external/src/policy_table/types.cc index 243cf98066..cb7f2bdd9d 100644 --- a/src/components/policy/policy_external/src/policy_table/types.cc +++ b/src/components/policy/policy_external/src/policy_table/types.cc @@ -1357,8 +1357,7 @@ ConsumerFriendlyMessages::ConsumerFriendlyMessages(const Json::Value* value__) Json::Value ConsumerFriendlyMessages::ToJsonValue() const { Json::Value result__(Json::objectValue); impl::WriteJsonField("version", version, &result__); - // According to requirements, it is not necessary to provide this to PTS - // impl::WriteJsonField("messages", messages, &result__); + impl::WriteJsonField("messages", messages, &result__); return result__; } |