OSDN Git Service

Reset GATT cache file if connection state is unpairing
authorweichinweng <weichinweng@google.com>
Thu, 18 Jul 2019 08:44:42 +0000 (16:44 +0800)
committerweichinweng <weichinweng@google.com>
Thu, 18 Jul 2019 08:44:42 +0000 (16:44 +0800)
commit78871ac2708d509fbba8b9abc7ec5db42847a489
tree1109801163f8929d47f96e360b81778efec80ca1
parent42308baabcf1ef681a68ba166dc48c440e8189ef
Reset GATT cache file if connection state is unpairing

Reset GATT cache for the device if connection state is unpairing, avoid
remaining useless gatt cache file.

Bug: 137697556
Test: Pair/Forget device, and check whether the gatt cache is exist.
Change-Id: I617289b7802a4f03e2910defc419a0bbb0a2aa06
bta/dm/bta_dm_act.cc