Skip to content

Commit

Permalink
Update MaintenanceManager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gomathishankar37 authored May 27, 2024
1 parent 0a7aa05 commit 1cbda92
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions MaintenanceManager/MaintenanceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,9 @@ namespace WPEFramework {
/* Purposefully delaying MAINTENANCE_STARTED status to honor POWER compliance */
if (UNSOLICITED_MAINTENANCE == g_maintenance_type) {
delayMaintenanceStarted = true;
LOGINFO("delayMaintenanceStarted is true");
}
#endif
if (!delayMaintenanceStarted) {
LOGINFO("delayMaintenanceStarted is false");
m_statusMutex.lock();
MaintenanceManager::_instance->onMaintenanceStatusChange(MAINTENANCE_STARTED);
m_statusMutex.unlock();
Expand Down Expand Up @@ -366,7 +364,6 @@ namespace WPEFramework {
}

if (delayMaintenanceStarted) {
LOGINFO("delayMaintenanceStarted is true");
m_statusMutex.lock();
MaintenanceManager::_instance->onMaintenanceStatusChange(MAINTENANCE_STARTED);
m_statusMutex.unlock();
Expand Down

0 comments on commit 1cbda92

Please sign in to comment.