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

Commit 7b0c4153 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[7/19] get_btm_client_interface().local.BTM_ReadDeviceClass" into main...

Merge "[7/19] get_btm_client_interface().local.BTM_ReadDeviceClass" into main am: 18e2abb7 am: 34c5c41f

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3107294



Change-Id: I8b73e22968f1f949198205e7733a232ca5302c5e
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ff09765c 34c5c41f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -26,7 +26,8 @@
#include <cstdint>

#include "internal_include/bt_target.h"
#include "stack/include/btm_api.h"
#include "stack/include/bt_dev_class.h"
#include "stack/include/btm_client_interface.h"

/*******************************************************************************
 *
@@ -162,7 +163,7 @@ bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) {
  uint8_t minor, major;
  DEV_CLASS old_class;

  old_class = BTM_ReadDeviceClass();
  old_class = get_btm_client_interface().local.BTM_ReadDeviceClass();
  BTM_COD_SERVICE_CLASS(service, old_class);
  BTM_COD_MINOR_CLASS(minor, old_class);
  BTM_COD_MAJOR_CLASS(major, old_class);