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

Commit bc26aef3 authored by Chris Manton's avatar Chris Manton
Browse files

Re-log btif/src/btif_profile_queue::btif_queue_connect_next

Towards loggable code

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

Change-Id: I4393c8c2a5a1e13500c782d4ad694c0194b226e0
parent d5d162fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@

#include "bt_common.h"
#include "btif_common.h"
#include "main/shim/dumpsys.h"
#include "stack_manager.h"

/*******************************************************************************
@@ -192,8 +193,7 @@ bt_status_t btif_queue_connect_next(void) {

  ConnectNode& head = connect_queue.front();

  LOG_INFO("%s: executing connection request: %s", __func__,
           head.ToString().c_str());
  LOG_INFO("Executing profile connection request:%s", head.ToString().c_str());
  bt_status_t b_status = head.connect();
  if (b_status != BT_STATUS_SUCCESS) {
    LOG_INFO("%s: connect %s failed, advance to next scheduled connection.",