OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e267348
)
btif_dm_pin_reply is running on the main thread now
author
Zach Johnson
<zachoverflow@google.com>
Sat, 15 Aug 2020 16:40:37 +0000
(09:40 -0700)
committer
Zach Johnson
<zachoverflow@google.com>
Sat, 15 Aug 2020 16:41:31 +0000
(09:41 -0700)
no need to post
Bug:
159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I58a6e4b99be777103ddc8fefdd5d15e263157104
btif/src/btif_dm.cc
patch
|
blob
|
history
diff --git
a/btif/src/btif_dm.cc
b/btif/src/btif_dm.cc
index
30748b1
..
966f1a4
100644
(file)
--- a/
btif/src/btif_dm.cc
+++ b/
btif/src/btif_dm.cc
@@
-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;
}