OSDN Git Service

Use bta/sys/bta_sys::BtaIdSysText()
authorChris Manton <cmanton@google.com>
Thu, 24 Sep 2020 06:11:42 +0000 (23:11 -0700)
committerChris Manton <cmanton@google.com>
Wed, 30 Sep 2020 23:37:14 +0000 (23:37 +0000)
Bug: 163134718
Tag: #refactor
Test: act.py -tc BleCocTest

Change-Id: I149985efc21bdad7b5039085226194c80877485f

bta/sys/bta_sys_main.cc

index 4d526e6..f6f7622 100644 (file)
@@ -97,7 +97,8 @@ void bta_sys_event(BT_HDR* p_msg) {
   if ((id < BTA_ID_MAX) && (bta_sys_cb.reg[id] != NULL)) {
     freebuf = (*bta_sys_cb.reg[id]->evt_hdlr)(p_msg);
   } else {
-    APPL_TRACE_WARNING("%s: Received unregistered event id %d", __func__, id);
+    LOG_INFO("Ignoring receipt of unregistered event id:%s",
+             BtaIdSysText(id).c_str());
   }
 
   if (freebuf) {