OSDN Git Service

Add audio gateway BtaIdSysText::BTA_ID_AG
authorChris Manton <cmanton@google.com>
Sat, 19 Dec 2020 01:58:42 +0000 (17:58 -0800)
committerChris Manton <cmanton@google.com>
Tue, 22 Dec 2020 03:24:52 +0000 (19:24 -0800)
Towards loggable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: Id263cdd4b0c56ec1eeae517ee1c8b96cca096daa

bta/sys/bta_sys.h

index 752ee94..45dd98a 100644 (file)
@@ -92,6 +92,8 @@ inline std::string BtaIdSysText(tBTA_SYS_ID sys_id) {
   switch (sys_id) {
     case BTA_ID_DM_SEARCH:
       return std::string("Scanner");
+    case BTA_ID_AG:
+      return std::string("Audio gateway");
     case BTA_ID_PAN:
       return std::string("PAN Personal area network");
     case BTA_ID_AV: