OSDN Git Service

Allocate/free the SDP connection timers only during stack startup/shutdown
authorPavlin Radoslavov <pavlin@google.com>
Fri, 12 Jan 2018 01:28:16 +0000 (17:28 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 12 Jan 2018 04:24:48 +0000 (20:24 -0800)
commitef6a4a0c9d9220a7d909863349d7a0c0b967d54c
tree67cf0f9fb0c357be59a10c225c4e1718c56d915f
parent20d5325239c25b76fd5845529a4af79c634c6920
Allocate/free the SDP connection timers only during stack startup/shutdown

This avoids freeing the sdp_conn_timer within the alarm callback itself.

Bug: 67110137
Test: Manual
Change-Id: I775b4b532cd42cf207258c53c6052a167a124627
stack/btu/btu_init.cc
stack/sdp/sdp_main.cc
stack/sdp/sdp_utils.cc
stack/sdp/sdpint.h