diff options
Diffstat (limited to 'src/components/application_manager/src/policies/policy_handler.cc')
-rw-r--r-- | src/components/application_manager/src/policies/policy_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/policies/policy_handler.cc b/src/components/application_manager/src/policies/policy_handler.cc index d2ad5ec95f..f88eaf47a5 100644 --- a/src/components/application_manager/src/policies/policy_handler.cc +++ b/src/components/application_manager/src/policies/policy_handler.cc @@ -448,7 +448,7 @@ uint32_t PolicyHandler::GetAppIdForSending() const { logger_, "Number of apps with NONE level: " << apps_with_none_level.size()); - if (apps_with_none_level.empty() && apps_without_none_level.empty()) { + if (apps_with_none_level.empty()) { LOG4CXX_WARN(logger_, "There is no registered application"); return 0; } @@ -1537,7 +1537,7 @@ void PolicyHandler::OnSnapshotCreated(const BinaryMessage& pt_string, if (0 != app_id_for_sending) { MessageHelper::SendPolicySnapshotNotification( - app_id_for_sending, pt_string, std::string(""), application_manager_); + app_id_for_sending, pt_string, std::string(), application_manager_); } } else { |