AI 145972: am: CL 145785 Don't close the A2DP data socket on data error - prevents mediaserver from wedging on A2DP device poweroff.
  This prevents a race that occurs when an A2DP headset is powered down. If the data socket closes itself then mediaserver tries to recover the stream, while the control path in hcid tries to cleanup the disconnected stream. hcid cant handle this and wedges mediaserver.
  Instead let the control path code trigger all the cleanup (including eventually closing the data socket through bluetooth_close() or bluetooth_stop()).
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 145972
1 file changed
tree: f814907d0116f9a0770eb6615167b577846c3907
  1. hcidump/
  2. libs/
  3. utils/