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

Commit a7487b11 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

parents f4a198c8 86ea0529
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(