Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c52e05a2 authored by Sebastian Haderecker's avatar Sebastian Haderecker Committed by Michael Bestas
Browse files

Volume Panel: Fix Bluetooth music stream icon when muted

This fixes the Bluetooth music stream icon not updating
when the volume is decreased to zero with hardware volume buttons.

Change-Id: I280cba64f94bbe2b3566b213f6182b5f654169cf
parent 2baa408f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -794,7 +794,8 @@ public class VolumeDialog implements TunerService.Tunable {
                isRingVibrate ? R.drawable.ic_volume_ringer_vibrate
                        : isRingSilent || zenMuted ? row.cachedIconRes
                        : ss.routedToBluetooth ?
                        (ss.muted ? R.drawable.ic_volume_media_bt_mute
                        ((mAutomute && ss.level == 0) || ss.muted ?
                                  R.drawable.ic_volume_media_bt_mute
                                : R.drawable.ic_volume_media_bt)
                        : mAutomute && ss.level == 0 ? row.iconMuteRes
                        : (ss.muted ? row.iconMuteRes : row.iconRes);