summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/src/policy_table/enums.cc
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2019-06-14 14:33:02 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2019-06-17 15:41:17 -0400
commitbd5b5d75e7e80838e8a0102f0c42493d3772e848 (patch)
tree29bca2ff0c87a922ea4b71dd200fb949eef7c2c5 /src/components/policy/policy_external/src/policy_table/enums.cc
parent7a7c31b1ac64d6acd1796f5024472905b32ecf73 (diff)
downloadsdl_core-bd5b5d75e7e80838e8a0102f0c42493d3772e848.tar.gz
Add CloseApplication RPC
Diffstat (limited to 'src/components/policy/policy_external/src/policy_table/enums.cc')
-rw-r--r--src/components/policy/policy_external/src/policy_table/enums.cc5
1 files changed, 5 insertions, 0 deletions
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 bb25623b35..5494b8a881 100644
--- a/src/components/policy/policy_external/src/policy_table/enums.cc
+++ b/src/components/policy/policy_external/src/policy_table/enums.cc
@@ -1159,6 +1159,11 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) {
return true;
}
+ if ("CloseApplication" == literal) {
+ *result = CloseApplicationID;
+ return true;
+ }
+
if ("OnHMIStatus" == literal) {
*result = OnHMIStatusID;
return true;