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

Commit 601e9af1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[BT] Fix not able to select A2DP as the output"

parents 07cda4a0 fb5cf8a5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -464,9 +464,6 @@ static jboolean setActiveDeviceNative(JNIEnv* env, jobject object,
  if (addr) {
    bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr));
  }
  if (bd_addr == RawAddress::kEmpty) {
    return JNI_FALSE;
  }
  bt_status_t status = sBluetoothA2dpInterface->set_active_device(bd_addr);
  if (status != BT_STATUS_SUCCESS) {
    ALOGE("%s: Failed A2DP set_active_device, status: %d", __func__, status);