diff --git a/src/gui/update.cpp b/src/gui/update.cpp index c05ccb53d..485cc8a26 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -78,6 +78,11 @@ #include +#if HAVE_ARM_HARDWARE +#include +extern cVideo * videoDecoder; +#endif + //NI softupdate #include @@ -721,8 +726,13 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey) Neutrino is clearing framebuffer, so ofgwrite's gui is cleared too. */ - if (restart == CMsgBox::mbrYes) + if (restart == CMsgBox::mbrYes){ + if(g_settings.hdmi_cec_standby){ + videoDecoder->SetCECAutoStandby(false); + } + CNeutrinoApp::getInstance()->exec(NULL, "reboot"); + } #endif return menu_return::RETURN_EXIT_ALL; }