OSDN Git Service

Register for Service Changed notification after encryption
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 4 Jul 2018 14:11:52 +0000 (07:11 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 10 Jul 2018 08:46:59 +0000 (08:46 +0000)
commitdc46396273b38ab637e7d82ec7306f4dc871d6c1
treec28916d3e48979aca54aa020ceb80448888e9270
parent5e77625fbce1e948294049c762aafe85fdbb5a86
Register for Service Changed notification after encryption

This fixes issue introduced in commit 645ee14ce2327fff61f54d208763eca1c143063e
Registration for Service Changed notifications was
disabled, because there was no good way back then to have
"opportunistic" app. Since opportunistic apps were introduced, and the
code in GATT_ConfigServiceChangeCCC is already marking connection as
opportunistic, reenable notification registration.

Test: manual verification, that Service Changed descriptor is set
Change-Id: Iefaec3914829fa4a4a60dc3c3790c3daa9f4f4d8
bta/dm/bta_dm_act.cc