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

Commit aa9dd5df authored by Bao Do's avatar Bao Do Committed by Automerger Merge Worker
Browse files

Merge "Remove lock from FetchAudioProvider." into main am: 64df3f53 am: fb938bca

parents c16a21ed fb938bca
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -135,8 +135,6 @@ void BluetoothAudioClientInterface::FetchAudioProvider() {
  if (provider_ != nullptr) {
    log::warn("refetch");
  }
  // Prevent other access to the AIDL if currently fetching new service
  std::lock_guard<std::mutex> guard(internal_mutex_);
  // Retry if audioserver restarts in the middle of fetching.
  // When audioserver restarts, IBluetoothAudioProviderFactory service is also
  // re-registered, so we need to re-fetch the service.