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

Commit 664645bc authored by Zach Johnson's avatar Zach Johnson
Browse files

btif_dm_ssp_reply is happening on the main thread now

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I1a5667ee3f5d7e76414773749c6319bfd2a8892b
parent a77eb04e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2218,9 +2218,7 @@ void btif_dm_ssp_reply(const RawAddress bd_addr, bt_ssp_variant_t variant,
    uint8_t tmp_addr_type = 0;
    BTM_ReadDevInfo(bd_addr, &tmp_dev_type, &tmp_addr_type);

    do_in_main_thread(FROM_HERE,
                      base::Bind(&bluetooth::shim::BTIF_DM_ssp_reply, bd_addr,
                                 tmp_addr_type, variant, accept));
    bluetooth::shim::BTIF_DM_ssp_reply(bd_addr, tmp_addr_type, variant, accept);
    return;
  }