[EGD-3506]: removed delayed reset
2 files changed, 1 insertions(+), 16 deletions(-) M module-services/service-desktop/endpoints/update/UpdatePureOS.cpp M module-services/service-desktop/endpoints/update/UpdatePureOS.hpp
M module-services/service-desktop/endpoints/update/UpdatePureOS.cpp => module-services/service-desktop/endpoints/update/UpdatePureOS.cpp +1 -14
@@ 105,27 105,14 @@ updateos::UpdateError UpdatePureOS::runUpdate(const int resetDelay) if (resetDelay == -1) return err; if (resetDelay == 0) { if (resetDelay >= 0) { // no resetDelay implementation for now sys::SystemManager::Reboot(owner); } if (resetDelay > 0) startResetTimer(resetDelay); } return err; } updateos::UpdateError UpdatePureOS::startResetTimer(int delay) { return updateos::UpdateError::NoError; } updateos::UpdateError UpdatePureOS::resetNow() { return updateos::UpdateError::NoError; } updateos::UpdateError UpdatePureOS::unpackUpdate() { mtar_header_t tarHeader;
M module-services/service-desktop/endpoints/update/UpdatePureOS.hpp => module-services/service-desktop/endpoints/update/UpdatePureOS.hpp +0 -2
@@ 117,8 117,6 @@ class UpdatePureOS : public updateos::UpdateStats updateos::UpdateError setUpdateFile(fs::path updateFileToUse); updateos::UpdateError cleanupAfterUpdate(); updateos::UpdateError updateUserData(); updateos::UpdateError resetNow(); updateos::UpdateError startResetTimer(int delay); void informError(const char *format, ...); void informDebug(const char *format, ...);