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

Commit b83bcaa8 authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by android-build-merger
Browse files

Merge "AVRCP Controller manage focus while disconnected"

am: 3f7ff7b6

Change-Id: I008d1b9ceec76af21b5189816349b28c55ebb4dd
parents c2a70e0e 3f7ff7b6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -667,7 +667,6 @@ static void btif_a2dp_sink_set_focus_state_event(
  LOG_INFO(LOG_TAG, "%s: state=%d", __func__, state);
  LockGuard lock(g_mutex);

  if (!btif_av_is_connected()) return;
  APPL_TRACE_DEBUG("%s: setting focus state to %d", __func__, state);
  btif_a2dp_sink_cb.rx_focus_state = state;
  if (btif_a2dp_sink_cb.rx_focus_state == BTIF_A2DP_SINK_FOCUS_NOT_GRANTED) {