summaryrefslogtreecommitdiffstats
path: root/apps/radio/radio.c
diff options
context:
space:
mode:
authorLorenzo Miori <memorys60@gmail.com>2013-07-06 13:41:54 +0200
committerThomas Martitz <kugel@rockbox.org>2013-07-06 14:21:36 +0200
commit228372c38df91e24d3fc3185c50db95d05f5dc74 (patch)
tree306de2d5a02b7e0235aa98a7e455892da680b9fa /apps/radio/radio.c
parent8fcce9653fc29a41019cf9a053d12d9c7717af56 (diff)
downloadrockbox-228372c38df91e24d3fc3185c50db95d05f5dc74.tar.gz
rockbox-228372c38df91e24d3fc3185c50db95d05f5dc74.tar.bz2
rockbox-228372c38df91e24d3fc3185c50db95d05f5dc74.zip
Bugfix: (un)locking state message(s) did not disappear
after unlocking the device while being into FM radio screen. This patch restores expected behaviour by forcing screen refresh when receiving the proper event. Change-Id: Ibe0864ab78619ddf235912d06a2efe3203b5042a Reviewed-on: http://gerrit.rockbox.org/505 Reviewed-by: Lorenzo Miori <memorys60@gmail.com> Tested-by: Lorenzo Miori <memorys60@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Diffstat (limited to 'apps/radio/radio.c')
-rw-r--r--apps/radio/radio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c
index 44ad7694ea..4502400677 100644
--- a/apps/radio/radio.c
+++ b/apps/radio/radio.c
@@ -689,6 +689,11 @@ void radio_screen(void)
case ACTION_NONE:
update_type = SKIN_REFRESH_NON_STATIC;
break;
+ /* this case is used by the softlock feature
+ * it requests a full update here */
+ case ACTION_REDRAW:
+ skin_request_full_update(FM_SCREEN);
+ break;
default:
default_event_handler(button);