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

Commit fc09da0a authored by Chris Manton's avatar Chris Manton Committed by android-build-merger
Browse files

Add logging indication of legacy/gd stack

am: b0ecaa79

Change-Id: I5c0eb1061e031df4328b922c555fb95ce213a19a
parents 0ef6375c b0ecaa79
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@
#include "common/address_obfuscator.h"
#include "common/metrics.h"
#include "device/include/interop.h"
#include "main/shim/shim.h"
#include "osi/include/alarm.h"
#include "osi/include/allocation_tracker.h"
#include "osi/include/log.h"
@@ -138,6 +139,12 @@ static int init(bt_callbacks_t* callbacks, bool start_restricted,
  LOG_INFO(LOG_TAG, "%s: start restricted = %d ; single user = %d", __func__,
           start_restricted, is_single_user_mode);

  if (bluetooth::shim::is_gd_shim_enabled()) {
    LOG_INFO(LOG_TAG, "%s Enable Gd bluetooth functionality", __func__);
  } else {
    LOG_INFO(LOG_TAG, "%s Preserving legacy bluetooth functionality", __func__);
  }

  if (interface_ready()) return BT_STATUS_DONE;

#ifdef BLUEDROID_DEBUG