commit | 9a5b262330191ada5a9724f58272a82e97ad4ccd | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Apr 18 18:20:56 2017 -0700 |
committer | Eric Laurent <elaurent@google.com> | Tue Apr 18 18:27:01 2017 -0700 |
tree | 6c76a452d93e61d2f6fc72791661724e3d745c96 | |
parent | ab16ea9094d2f26291f5d8f8652950b3ed76e7ee [diff] |
audio service: simplify becoming noisy intent logic Simplify and fix the logic deciding if AudioManager.ACTION_AUDIO_BECOMING_NOISY intent should be broadcast when a device is disconnected. Bug: 37308922 Test: verify music stops when disconnecting a wired or BT A2DP headset and it is the only device connected. Verify music doesn't stop when disconnecting a wired or BT A2DP headset and they are both connected. Change-Id: Iba5885697d37a2f3d23dfc013623e2fbec173998