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

Skip to content
Commit 1a28bfc8 authored by François Gaffie's avatar François Gaffie Committed by Eric Laurent
Browse files

[BUG] AudioService: fix mute/umute of aliased streams.



Mute/umute of aliased streams is asymetric according to activation/
de-activation mute events.
A toggle mute will mute/unmute all aliased whereas a togglemute/raise
will mute all aliased and unmute only the concerned stream of the raise
event.
A toggle mute and a setStreamVolume will mute all aliased and unmute only
the concercend stream of the setVolume request.

This CL makes the behavior homogeneous for aliased stream among
all activation/deactivation mute events.

Test: adb shell am instrument -w com.android.audiopolicytest com.android.audiopolicytest
Bug: 260298113

Signed-off-by: default avatarFrançois Gaffie <francois.gaffie@renault.com>
Change-Id: I803f9df1c30755b8b5530c4b373c79ea4efd5010
parent 32a2b5f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment