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

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

This call will never be successful

The main thread lifetime is tied to start/stop, this call is part of
cleanup which happens after stop. So this call has no effect.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Iccfb31feb924f43af1154398b1c762e39866fd1b
parent 4d6cb74c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -397,7 +397,6 @@ void btif_enable_bluetooth_evt() {

bt_status_t btif_cleanup_bluetooth() {
  LOG_INFO("%s entered", __func__);
  do_in_main_thread(FROM_HERE, base::Bind(&BTA_VendorCleanup));
  btif_dm_cleanup();
  jni_thread.DoInThread(FROM_HERE, base::BindOnce(btif_jni_disassociate));
  btif_queue_release();