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

Commit 1e1e757c authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Move callback to dispatch thread

am: 828ff867

Change-Id: Ic63dc9bd61b1b000b1d1910e89391b3c2f6484c2
parents 89b12424 828ff867
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -231,8 +231,8 @@ static void btif_initiate_av_open_timer_timeout(UNUSED_ATTR void* data) {
      connect_req.uuid = UUID_SERVCLASS_AUDIO_SINK;
    else if (bt_av_src_callbacks != NULL)
      connect_req.uuid = UUID_SERVCLASS_AUDIO_SOURCE;
    btif_sm_dispatch(btif_av_cb.sm_handle, BTIF_AV_CONNECT_REQ_EVT,
                     (char*)&connect_req);
    btif_dispatch_sm_event(BTIF_AV_CONNECT_REQ_EVT, (char*)&connect_req,
                           sizeof(connect_req));
  } else {
    BTIF_TRACE_ERROR("%s No connected RC peers", __func__);
  }