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

Commit 161e6638 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Include Headtracker service in the list of interesting services" into main

parents da9e1f6c 9a52c1a4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@
#include "bt_name.h"
#include "bta/dm/bta_dm_disc.h"
#include "bta/include/bta_api.h"
#include "bta/include/bta_hh_api.h"
#include "btif/include/stack_manager_t.h"
#include "btif_api.h"
#include "btif_bqr.h"
@@ -1651,7 +1652,9 @@ static bool btif_is_interesting_le_service(bluetooth::Uuid uuid) {
  return (uuid.As16Bit() == UUID_SERVCLASS_LE_HID || uuid == UUID_HEARING_AID ||
          uuid == UUID_VC || uuid == UUID_CSIS || uuid == UUID_LE_AUDIO ||
          uuid == UUID_LE_MIDI || uuid == UUID_HAS || uuid == UUID_BASS ||
          uuid == UUID_BATTERY);
          uuid == UUID_BATTERY ||
          (com::android::bluetooth::flags::android_headtracker_service() &&
           uuid == ANDROID_HEADTRACKER_SERVICE_UUID));
}

static bt_status_t btif_get_existing_uuids(RawAddress* bd_addr,