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

Commit 644ca832 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "floss: Fix more LeAudio related build issues" am: 6950d2e8 am:...

Merge "floss: Fix more LeAudio related build issues" am: 6950d2e8 am: fe8ba89a am: fb00fe49 am: 6165c891

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

Change-Id: If872d0a148453364044cd24f2a8f13dc5be18082
parents a512c83a 6165c891
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -489,8 +489,10 @@ static const void* get_profile_interface(const char* profile_id) {
  if (is_profile(profile_id, BT_PROFILE_HEARING_AID_ID))
    return btif_hearing_aid_get_interface();

#ifndef TARGET_FLOSS
  if (is_profile(profile_id, BT_PROFILE_HAP_CLIENT_ID))
    return btif_has_client_get_interface();
#endif

  if (is_profile(profile_id, BT_KEYSTORE_ID))
    return bluetooth::bluetooth_keystore::getBluetoothKeystoreInterface();
+4 −0
Original line number Diff line number Diff line
@@ -1945,8 +1945,12 @@ void btif_storage_load_bonded_leaudio_has_devices() {
    uint8_t features = 0;
    if (btif_config_get_int(name, HAS_FEATURES, &value)) features = value;

#ifndef TARGET_FLOSS
    do_in_main_thread(FROM_HERE, Bind(&le_audio::has::HasClient::AddFromStorage,
                                      bd_addr, features, is_acceptlisted));
#else
    ASSERT_LOG(false, "TODO - Fix LE audio build.");
#endif
  }
}