From 4202218b470439dbefd85a4c4244a0814cc0c6c4 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 6 Nov 2017 00:00:31 +0100 Subject: [PATCH] - neutrino: some more mode_radio/mode_webradio fixes #2 Signed-off-by: Thilo Graf --- src/neutrino.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index ee5e8cf84..7b60b1338 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4264,7 +4264,7 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) check PIN and not zap, so we should be fine here */ mode = mode_unknown; - if( lastMode == mode_radio ) { + if (lastMode == mode_radio || lastMode == mode_webradio) { radioMode( false ); } else { /* for standby -> tv mode from radio mode in case of record */ @@ -4322,7 +4322,12 @@ void CNeutrinoApp::radioMode( bool rezap) #endif CRecordManager::getInstance()->StopAutoRecord(); - if (mode != mode_webtv) { + if (mode != mode_webtv && mode != mode_webradio) { + /* + FIXME: + frameBuffer->paintBackground() is clearing display. + What if any gui-element (e.g. infoviewer) is active? + */ frameBuffer->useBackground(false); frameBuffer->paintBackground(); }