+ // Check restriction mode change
+ json_object* json_restriction_mode;
+ if (!json_object_object_get_ex(obj, "restriction_mode", &json_restriction_mode)) {
+ HMI_ERROR("wm:lm", "Parse Error!!");
+ return -1;
+ }
+
+ json_bool is_restriction_mode_changed;
+ std::string restriction_mode = "";
+ is_restriction_mode_changed = jh::getBoolFromJson(json_restriction_mode, "is_changed");
+ if (is_restriction_mode_changed) {
+ // If restriction mode is changed, get restriction mode
+ restriction_mode = jh::getStringFromJson(json_restriction_mode, "state");
+ }
+