OSDN Git Service

HFP: Print human readable event and state name by default
authorJack He <siyuanh@google.com>
Sun, 7 Jan 2018 01:00:37 +0000 (17:00 -0800)
committerJack He <siyuanh@google.com>
Wed, 10 Jan 2018 01:56:25 +0000 (17:56 -0800)
commita01bb1dd3fd8c0ac8a73d7d335af50855ee46c91
tree330910f0d320a980b445e3f8219dfe691710cb91
parent0681fefcf5f5c9d7471986b7c9f20f69e94d4fb1
HFP: Print human readable event and state name by default

* Debug log in HFP's BTA code is gated by BTA_AG_SCO_DEBUG and
  BTA_AG_DEBUG flags. These are non-standard flags that must be
  configured at compile time. Instead, debug logs should be gated by
  flags in bt_stack.conf only
* This change enables human readable debug output by default by removing
  these flags, and refactor the string conversion functions

Bug: 70538124
Test: runtest bluetooth, native unit tests
Change-Id: I99fd00016020a9c6b14928906f07bca4f0ea482d
bta/ag/bta_ag_main.cc
bta/ag/bta_ag_sco.cc