neutrino: some more mode_radio/mode_webradio fixes #2

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4202218b47
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)

Origin message was:
------------------
- neutrino: some more mode_radio/mode_webradio fixes #2

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


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-06 00:00:31 +01:00
committed by Thilo Graf
parent 2ad3f57ea3
commit 85f9dd4f4e

View File

@@ -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();
}