OSDN Git Service

A2DP: Cleanup UIPC when no active device
authorHansong Zhang <hsz@google.com>
Fri, 2 Feb 2018 02:02:53 +0000 (18:02 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 14 Feb 2018 05:11:46 +0000 (05:11 +0000)
commitf88552cdd8360cc3a28e4f7e10101b6859692c69
tree2049496b212b7b071447569cce9af06b14c31a02
parent37a143f49aeb9f3fdc452c6e7f8f5fe72043363b
A2DP: Cleanup UIPC when no active device

* Modified UIPC to support multiple users
* A2DP now calls UIPC_Close() when it has no active device, and calls
  UIPC_Init() when it has an active device

Bug: 72701090
Test: Carkits with A2DP
Change-Id: Ic1b4b1be2aa01c9896883e3cb2a668d7a43316f9
btif/src/btif_a2dp_control.cc
btif/src/btif_a2dp_source.cc
btif/src/btif_av.cc
udrv/include/uipc.h
udrv/ulinux/uipc.cc