OSDN Git Service

Use correct call btif_a2dp_sink_startup() for Sink peers
authorPavlin Radoslavov <pavlin@google.com>
Wed, 14 Feb 2018 12:12:54 +0000 (04:12 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 14 Feb 2018 12:23:22 +0000 (04:23 -0800)
commitb600f6b6fcf44ef3c0e3ed4825754884df69c798
treeed5694198352fbc57d5c31262269de3475ed8dbd
parentf88552cdd8360cc3a28e4f7e10101b6859692c69
Use correct call btif_a2dp_sink_startup() for Sink peers

Replaced an incorrect call to btif_a2dp_source_startup() with
btif_a2dp_sink_startup() inside BtifAvSink::SetActivePeer()

Also, minor cleanup: fix log messages, add missing description for
some of the methods.

Bug: 72701090
Test: Manual with Headet
Change-Id: I0620833b02bd9012fea63ce2ce5e3c4c74d27bf7
btif/src/btif_av.cc