diff options
| author | Jean-Michel Trivi <jmtrivi@google.com> | 2020-04-09 08:19:26 -0700 |
|---|---|---|
| committer | Jean-Michel Trivi <jmtrivi@google.com> | 2020-04-13 08:10:39 -0700 |
| commit | 14e3485272a2ca28764d916e266e17311943c245 (patch) | |
| tree | 911392bdf2d55eb4c84c602535350f0b47b844a8 /docs/html/sdk/api_diff | |
| parent | 084b05a7496d2726f69304238fac46c224869a9a (diff) | |
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: I102f6b379eace7b396860b6f24024720fb465382
Diffstat (limited to 'docs/html/sdk/api_diff')
0 files changed, 0 insertions, 0 deletions
