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

Commit 57b08bba authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "HAL: Bypass binder check when refetching" am: 86ea0529 am: a7487b11...

Merge "HAL: Bypass binder check when refetching" am: 86ea0529 am: a7487b11 am: fdb7f312 am: 1bda1be1

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



Change-Id: I185b8c893abdc99db07cef86b61f5e522b384d3a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 71803f71 1bda1be1
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -91,9 +91,11 @@ BluetoothAudioClientInterface::GetAudioCapabilities(SessionType session_type) {

void BluetoothAudioClientInterface::FetchAudioProvider() {
  if (provider_ != nullptr) {
    LOG(WARNING) << __func__ << ": reflash";
  }
  if (!is_aidl_available()) {
    LOG(WARNING) << __func__ << ": refetch";
  } else if (!is_aidl_available()) {
    // AIDL availability should only be checked at the beginning.
    // When refetching, AIDL may not be ready *yet* but it's expected to be
    // available later.
    return;
  }
  auto provider_factory = IBluetoothAudioProviderFactory::fromBinder(