[DO NOT MERGE] AudioService: better mic muting API behavior with errors
If an error is reported when changing the microphone mute state, log it but still fire ACTION_MICROPHONE_MUTE_CHANGED intent. Make AudioManager.isMicrophoneMute() return the "real" mute state, not the intended mute state, by returning the cache of the state returned by AudioSystem whenever a change is attempted. Bug: 153103117 Test: atest AudioServiceTest Change-Id: Id79c789fff5e675afbc43e6e6dd34cc78dc26c6d
Loading
Please register or sign in to comment