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

Commit 8df96097 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Show the current stream's volume in the volume panel.

Bug: 5409969

If the current stream being displayed is different from the
stream being adjusted, rearrange the sliders, unless multiple
sliders are being shown.

Change-Id: Ia48986c1046305d7fee7a32177d78d8ffd84a11b
parent 63b06804
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -400,7 +400,7 @@ public class VolumePanel extends Handler implements OnSeekBarChangeListener, Vie
        if (LOGD) Log.d(TAG, "onVolumeChanged(streamType: " + streamType + ", flags: " + flags + ")");

        if ((flags & AudioManager.FLAG_SHOW_UI) != 0) {
            if (mActiveStreamType == -1) {
            if (mActiveStreamType != streamType) {
                reorderSliders(streamType);
            }
            onShowVolumeChanged(streamType, flags);