OSDN Git Service

Centralize call to gatt_update_app_use_link_flag for GATT_Connect
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 13 Nov 2018 17:31:08 +0000 (18:31 +0100)
committerMyles Watson <mylesgw@google.com>
Wed, 28 Nov 2018 17:12:34 +0000 (17:12 +0000)
commit8c2f8384a8a18aaba704bed51560ab95c1eb5697
tree84fa20468d7b73308c7313c1befcb59d98ab710c
parent2fb03d84707d5974167519ac571d4ee9514bb950
Centralize call to gatt_update_app_use_link_flag for GATT_Connect

Currently both code paths, doing direct and background connection, call
gatt_update_app_use_link_flag. Move this call to common code.

Bug: 112827989
Test: sl4a GattConnectTest
Change-Id: I5d55f6467ffca78ff785ecdad02dd049ea5481bf
stack/gatt/gatt_api.cc
stack/gatt/gatt_int.h
stack/gatt/gatt_main.cc
stack/gatt/gatt_utils.cc