Skip to content
Commit 9a5b2623 authored by Eric Laurent's avatar Eric Laurent
Browse files

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
parent ab16ea90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment