DescriptionFix several audio issues:
1. Audio button on ash tray UI does not work when user toggles it.
2. On ash tray bubble, if audio is muted, when user moves slider, audio is not unmuted.
3. Change CrasAudioHandler to update audio state, preference and notify observers for audio state change when user call CrasAudioHandler APIs to change the audio state, not when the dbus signals are received.
4. Move the code for adjusting unmute output volume to minimum unmute level out of SetOutputMute, and it is up to user to decide if they can call AdjustOutputVolumeToAudibleLevel to adjust the volume.
5. This also make the volume bubble shows up each time user presses mute, volume up, volume down button even if there is no audio state changes.
BUG=242549, 242964
TBR=jamescook@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202334
Patch Set 1 #Patch Set 2 : Small improvement in TrayAudio comparing new slider value with current audio volume. #
Total comments: 7
Patch Set 3 : fix nit. #
Messages
Total messages: 9 (0 generated)
|