OSDN Git Service

BT: Checking for stack status before removing sdp
authorGurpreet Ghai <gghai@codeaurora.org>
Wed, 10 Feb 2016 14:51:39 +0000 (20:21 +0530)
committerLinux Build Service Account <lnxbuild@localhost>
Wed, 24 Aug 2016 14:09:38 +0000 (08:09 -0600)
commit7abf78e017a599cfafa1052800c608334e6c7a33
tree9bf87a66497f7a9c125b50c7df81b3cbc3f507d1
parent7b09db61f0ea76552eac815e40db3429c06ad79c
BT: Checking for stack status before removing sdp

Based on appliaction implementation, this api
can be called during undesirable state like
when stack is being cleared. This causes ANR
and tombstone in Bluetooth.
Checked for status of stack and returned without
processing if stack is already cleared.

Change-Id: Ib5447402f9c28e010a74700927be54db44f9ca65
CRs-Fixed: 975088
btif/src/btif_sdp_server.c