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

Commit bb1e0b5e authored by Bailey Forrest's avatar Bailey Forrest Committed by android-build-merger
Browse files

Merge "a2dp_source: Use SIZE_MAX queue size for worker_thread"

am: d8336625

Change-Id: If74f098483a3cb8116351718f1d53ee8fdd9b157
parents 75dd1686 d8336625
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ bool btif_a2dp_source_startup(void) {

  /* Start A2DP Source media task */
  btif_a2dp_source_cb.worker_thread =
      thread_new("btif_a2dp_source_worker_thread");
      thread_new_sized("btif_a2dp_source_worker_thread", SIZE_MAX);
  if (btif_a2dp_source_cb.worker_thread == NULL) {
    APPL_TRACE_ERROR("%s: unable to start up media thread", __func__);
    btif_a2dp_source_state = BTIF_A2DP_SOURCE_STATE_OFF;