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

Commit ecb23d9e 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 am: bb1e0b5e

am: d8febf74

Change-Id: I5c3eb004260e73bd8cbb0c602026ef20f30779ab
parents 2e24e944 d8febf74
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;