aboutsummaryrefslogtreecommitdiffstats
path: root/src/policy_manager/policy_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/policy_manager/policy_manager.cpp')
-rw-r--r--src/policy_manager/policy_manager.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/policy_manager/policy_manager.cpp b/src/policy_manager/policy_manager.cpp
index 3ee9459..8b902b2 100644
--- a/src/policy_manager/policy_manager.cpp
+++ b/src/policy_manager/policy_manager.cpp
@@ -179,6 +179,10 @@ int PolicyManager::checkPolicy(json_object* json_in, json_object** json_out) {
// },
json_object* json_layer = json_object_new_array();
json_object* json_tmp = json_object_new_object();
+ HMI_DEBUG("wm", "on_screen state (is_changed:%d state:%d:%s)",
+ this->current_state_.layer.on_screen.is_changed,
+ this->current_state_.layer.on_screen.state,
+ stm::gStmLayoutNo2Name[this->current_state_.layer.on_screen.state]);
this->addStateToJson("on_screen",
this->current_state_.layer.on_screen.is_changed,
stm::gStmLayoutNo2Name[this->current_state_.layer.on_screen.state],
@@ -191,6 +195,10 @@ int PolicyManager::checkPolicy(json_object* json_in, json_object** json_out) {
// "state": <const char*>
// }
// },
+ HMI_DEBUG("wm", "restriction state (is_changed:%d state:%d:%s)",
+ this->current_state_.layer.restriction.is_changed,
+ this->current_state_.layer.restriction.state,
+ stm::gStmLayoutNo2Name[this->current_state_.layer.restriction.state]);
json_tmp = json_object_new_object();
this->addStateToJson("restriction",
this->current_state_.layer.restriction.is_changed,
@@ -204,6 +212,10 @@ int PolicyManager::checkPolicy(json_object* json_in, json_object** json_out) {
// "state": <const char*>
// }
// },
+ HMI_DEBUG("wm", "apps state (is_changed:%d state:%d:%s)",
+ this->current_state_.layer.apps.is_changed,
+ this->current_state_.layer.apps.state,
+ stm::gStmLayoutNo2Name[this->current_state_.layer.apps.state]);
json_tmp = json_object_new_object();
this->addStateToJson("apps",
this->current_state_.layer.apps.is_changed,
@@ -219,6 +231,10 @@ int PolicyManager::checkPolicy(json_object* json_in, json_object** json_out) {
// },
// ]
// }
+ HMI_DEBUG("wm", "homescreen state (is_changed:%d state:%d:%s)",
+ this->current_state_.layer.homescreen.is_changed,
+ this->current_state_.layer.homescreen.state,
+ stm::gStmLayoutNo2Name[this->current_state_.layer.homescreen.state]);
json_tmp = json_object_new_object();
this->addStateToJson("homescreen",
this->current_state_.layer.homescreen.is_changed,