Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d345e1d authored by Chris Manton's avatar Chris Manton
Browse files

Re-log btif/src/btif_config::btif_get_address_type

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: acts/bin/act.py -tp ~/Goog/tools/test/connectivity -tc BleCocTest

Change-Id: I83c78bdb13e808e352ced18f26e27f759b4c638b
parent bd8e6175
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -150,7 +150,8 @@ bool btif_get_address_type(const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type) {
  if (!btif_config_get_int(bd_addr_str, "AddrType", &val)) return false;
  *p_addr_type = static_cast<tBLE_ADDR_TYPE>(val);

  LOG_INFO("Device [%s] address type %d", bd_addr_str, *p_addr_type);
  LOG_DEBUG("Device [%s] address type %s", bd_addr_str,
            AddressTypeText(*p_addr_type).c_str());
  return true;
}