OSDN Git Service

Remove #def code conditional BT_MAX_SERVICE_NAME_LEN
authorChris Manton <cmanton@google.com>
Wed, 9 Sep 2020 15:39:48 +0000 (08:39 -0700)
committerChris Manton <cmanton@google.com>
Wed, 16 Sep 2020 06:02:53 +0000 (06:02 +0000)
commit44f3ee65934024c6c0fb854ddfccab12921daedd
tree166e72d6c869c71354597ee86d3653919ac0f0a9
parenta1e1e5245b5d19dc1f3ac5e1efa40d64e36a77d8
Remove #def code conditional BT_MAX_SERVICE_NAME_LEN

Ok for constants, poor for code conditionals

Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Test: acts -tc BleCocTest
Change-Id: I1e3c7848932ba160411c86243b374d7b5f84403c
stack/btm/btm_sec.cc
stack/btm/security_device_record.h