[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: François Gaffie <francois.gaffie@renault.com>
Change-Id: I803f9df1c30755b8b5530c4b373c79ea4efd5010
Merged-In: I803f9df1c30755b8b5530c4b373c79ea4efd5010
1 file changed