diff options
-rw-r--r-- | apps/misc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index b8e69d09c6..dd73c98a69 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -555,7 +555,14 @@ static void hp_unplug_change(bool inserted) | |||
555 | if ((audio_stat & AUDIO_STATUS_PLAY) && | 555 | if ((audio_stat & AUDIO_STATUS_PLAY) && |
556 | headphone_caused_pause && | 556 | headphone_caused_pause && |
557 | global_settings.unplug_mode > 1 ) | 557 | global_settings.unplug_mode > 1 ) |
558 | unpause_action(true); | 558 | { |
559 | enum current_activity act = get_current_activity(); | ||
560 | /* only do a skin refresh if in one of the below screens */ | ||
561 | bool refresh = (act == ACTIVITY_FM || | ||
562 | act == ACTIVITY_WPS || | ||
563 | act == ACTIVITY_RECORDING); | ||
564 | unpause_action(refresh); | ||
565 | } | ||
559 | headphone_caused_pause = false; | 566 | headphone_caused_pause = false; |
560 | } else { | 567 | } else { |
561 | if ((audio_stat & AUDIO_STATUS_PLAY) && | 568 | if ((audio_stat & AUDIO_STATUS_PLAY) && |