OSDN Git Service

Get rid of p_cur_service in dev_rec
authorHansong Zhang <hsz@google.com>
Mon, 31 Aug 2020 19:44:47 +0000 (12:44 -0700)
committerHansong Zhang <hsz@google.com>
Mon, 31 Aug 2020 19:52:19 +0000 (12:52 -0700)
commit1fe731e30abe94ede277adb5049980a79623c4c5
tree6aa05be64aa9a000c1778c7e6cfb5fc1a261e9be
parent352862a6a7e9480d1ce9bca81efb918174d25739
Get rid of p_cur_service in dev_rec

Instead of storing the service for pending security requirements when we
pair a new device, we directly store the security requirement.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ifc8114d952458320f72f422acc9f8b0b9b21bb0d
stack/btm/btm_sec.cc
stack/btm/security_device_record.h