Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Bugfix] WPS pause while WPS not active causes display corruption

Discovered this in the sim with car adapter mode: on

when charger gets disconnected the device is paused

if you have a different screen up the scrolling elems
get redrawn incorrectly over the current screen

to fix check the activity is the WPS, FM, or RECORDING before allowing redraw

Change-Id: Ie3618347fde446fe0b78b9d3c67261ca63ffee1c

+10 -7
+9 -1
apps/gui/wps.c
··· 150 150 #endif 151 151 } 152 152 } 153 - if (updatewps) 153 + 154 + /* Bugfix only do a skin refresh if in one of the below screens */ 155 + enum current_activity act = get_current_activity(); 156 + 157 + bool refresh = (act == ACTIVITY_FM || 158 + act == ACTIVITY_WPS || 159 + act == ACTIVITY_RECORDING); 160 + 161 + if (updatewps && refresh) 154 162 update_non_static(); 155 163 } 156 164
+1 -6
apps/misc.c
··· 566 566 headphone_caused_pause && 567 567 global_settings.unplug_mode > 1 ) 568 568 { 569 - enum current_activity act = get_current_activity(); 570 - /* only do a skin refresh if in one of the below screens */ 571 - bool refresh = (act == ACTIVITY_FM || 572 - act == ACTIVITY_WPS || 573 - act == ACTIVITY_RECORDING); 574 - unpause_action(refresh); 569 + unpause_action(true); 575 570 } 576 571 headphone_caused_pause = false; 577 572 } else {