neutrino: re-disable screensaver for mode_webradio on ARM_HARDWARE

when screensaver is stopped the playback is stopped too

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 25c8220888
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-25 (Sat, 25 Nov 2017)

Origin message was:
------------------
- neutrino: re-disable screensaver for mode_webradio on ARM_HARDWARE

when screensaver is stopped the playback is stopped too

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-11-25 09:58:55 +01:00
committed by Thilo Graf
parent b3dc977b23
commit 386f195c95

View File

@@ -2598,7 +2598,11 @@ void CNeutrinoApp::RealRun()
if (msg <= CRCInput::RC_MaxRC)
CScreenSaver::getInstance()->resetIdleTime();
#if HAVE_ARM_HARDWARE
if (mode == NeutrinoModes::mode_radio)
#else
if (mode == NeutrinoModes::mode_radio || mode == NeutrinoModes::mode_webradio)
#endif
{
bool ignored_msg = (
/* radio screensaver will ignore this msgs */