summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/include
diff options
context:
space:
mode:
authorAKalinich-Luxoft <AKalinich@luxoft.com>2017-06-19 16:26:36 +0300
committerAKalinich-Luxoft <AKalinich@luxoft.com>2017-06-19 16:26:36 +0300
commit60f57672d36c84b805d2e40481be1555e3e6ffa8 (patch)
tree55e27bedc697c7aa70a21a95be081c5be528e3a1 /src/components/policy/policy_external/include
parent817052ffe35991d6927e9176528821323b4e6812 (diff)
downloadsdl_core-60f57672d36c84b805d2e40481be1555e3e6ffa8.tar.gz
Fix Consumer friendly message default language checking
If “en-us” is not present for any message, the table shall be rejected, PM should log error and shut SDL down. However this works only for external policies. Added missed checks for regular policies. kMandatoryLanguage was renamed to default_language_
Diffstat (limited to 'src/components/policy/policy_external/include')
-rw-r--r--src/components/policy/policy_external/include/policy/policy_table/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_table/types.h b/src/components/policy/policy_external/include/policy/policy_table/types.h
index 774ef3ee59..8785f4d8e9 100644
--- a/src/components/policy/policy_external/include/policy/policy_table/types.h
+++ b/src/components/policy/policy_external/include/policy/policy_table/types.h
@@ -360,7 +360,7 @@ struct MessageLanguages : CompositeType {
private:
bool Validate() const;
- static const std::string kMandatoryLanguage_;
+ static const std::string default_language_;
};
struct ConsumerFriendlyMessages : CompositeType {