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

Commit a77eb04e authored by Zach Johnson's avatar Zach Johnson
Browse files

btif_dm_pin_reply is running on the main thread now

no need to post

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I58a6e4b99be777103ddc8fefdd5d15e263157104
parent 6e6c5a69
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2182,9 +2182,8 @@ void btif_dm_pin_reply(const RawAddress bd_addr, uint8_t accept,
    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_pin_reply, bd_addr,
                                 tmp_addr_type, accept, pin_len, pin_code));
    bluetooth::shim::BTIF_DM_pin_reply(bd_addr, tmp_addr_type, accept, pin_len,
                                       pin_code);
    return;
  }