OSDN Git Service

Make bta_gattc_listen only start listening
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 28 Oct 2016 23:44:49 +0000 (16:44 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 1 Nov 2016 17:10:18 +0000 (17:10 +0000)
commite68dc31025067bcd288128ac1e37b8bf18de756e
tree3f247b928857bc955829efdf9951a58972f53927
parent2d97ffe3f32755bd6f5df0edad42fe659c93612c
Make bta_gattc_listen only start listening

The bta_gattc_listen method is used only to start advertising on devices
not using Vendor-Specific Callbacks. It should not notify the client
calling it of all connected devices.

It is also unnecessary to add the gatt client as listening for background
connections. No such thing is done for multi advertising.

Bug: 30622771
Bug: 24099160
Test: code is still compiling
Change-Id: Ia11a247b8416f77543087cd3f18331fcfe7bd207
bta/gatt/bta_gattc_act.cc
bta/gatt/bta_gattc_int.h
bta/gatt/bta_gattc_utils.cc