summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2019-02-22 12:47:25 -0500
committerJackLivio <jack@livio.io>2019-02-22 12:47:25 -0500
commitee25d0340edb4a812fe4ee5691b46f1c2a1a4a79 (patch)
treea4c1401daf149037c99a735e638baeb4b4cc4b75 /src/components/policy/policy_external
parent9e0d02fa6f5d81233815ee2507014ff928457a17 (diff)
parenta4011490d9aa4606d6d835690bc8703c4375526b (diff)
downloadsdl_core-ee25d0340edb4a812fe4ee5691b46f1c2a1a4a79.tar.gz
Merge remote-tracking branch 'origin/feature/base_app_services_implementation' into feature/app_service_policies
# Conflicts: # src/components/application_manager/src/app_service_manager.cc
Diffstat (limited to 'src/components/policy/policy_external')
-rw-r--r--src/components/policy/policy_external/include/policy/policy_table/enums.h5
-rw-r--r--src/components/policy/policy_external/src/policy_table/enums.cc5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_table/enums.h b/src/components/policy/policy_external/include/policy/policy_table/enums.h
index 094e5cc7c6..32277f2dcf 100644
--- a/src/components/policy/policy_external/include/policy/policy_table/enums.h
+++ b/src/components/policy/policy_external/include/policy/policy_table/enums.h
@@ -546,6 +546,11 @@ enum FunctionID {
OnAppServiceDataID = 32786,
/**
+ * @brief OnSystemCapabilityUpdatedID
+ */
+ OnSystemCapabilityUpdatedID = 32787,
+
+ /**
* @brief EncodedSyncPDataID.
*/
EncodedSyncPDataID = 65536,
diff --git a/src/components/policy/policy_external/src/policy_table/enums.cc b/src/components/policy/policy_external/src/policy_table/enums.cc
index 2260d7e320..2d21715194 100644
--- a/src/components/policy/policy_external/src/policy_table/enums.cc
+++ b/src/components/policy/policy_external/src/policy_table/enums.cc
@@ -1226,6 +1226,11 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) {
return true;
}
+ if ("OnSystemCapabilityUpdated" == literal) {
+ *result = OnSystemCapabilityUpdatedID;
+ return true;
+ }
+
if ("EncodedSyncPData" == literal) {
*result = EncodedSyncPDataID;
return true;