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

Commit 92688249 authored by Vlad Popa's avatar Vlad Popa Committed by Android (Google) Code Review
Browse files

Merge "Sync mute between VGS and VSS only for active device" into main

parents 16c05751 f377323e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -10486,6 +10486,10 @@ public class AudioService extends IAudioService.Stub
                        mVolumeGroupState.updateVolumeIndex(groupIndex, device);
                        // Only propage mute of stream when applicable
                        if (isMutable()) {
                            if (deviceVolumeApis() && device != getDeviceForStream(mStreamType)) {
                                // only mute if the device is active
                                return;
                            }
                            // For call stream, align mute only when muted, not when index is set to
                            // 0
                            mVolumeGroupState.mute(