OSDN Git Service

Open connection if it doesn't exsist in bta_gattc_process_indicate
authorweichinweng <weichinweng@google.com>
Wed, 29 May 2019 06:27:15 +0000 (14:27 +0800)
committerWeichin Weng <weichinweng@google.com>
Wed, 29 May 2019 10:35:05 +0000 (10:35 +0000)
commitffc95919835bbf89d635516955bff1b3b8a17641
tree1ec12338aa46af47df5e03732fa98dc15dcece70
parent056e1043664e425389bafd9776a4c083c6a7820e
Open connection if it doesn't exsist in bta_gattc_process_indicate

If Service Changed indication is received before the connection is open
, send the BTA_GATTC_INT_CONN_EVT to open it before processing the
indication.

Bug: 131814072
Test: CTS Bluetooth LE Secure Test. Unit test.

Change-Id: I1b3415ef6aafb52a6ac229409514a85f35de5842
bta/gatt/bta_gattc_act.cc