diff --git a/src/gui/update.cpp b/src/gui/update.cpp index af451d9f0..159b4e5b2 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 + extern int allow_flash; //#define DRYRUN @@ -719,8 +724,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; }