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

Commit 34530bb3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Call BTA_VendorCleanup on proper thread"

parents f322b689 369f847d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -527,7 +527,7 @@ void btif_disable_bluetooth_evt(void) {
bt_status_t btif_cleanup_bluetooth(void) {
  LOG_INFO(LOG_TAG, "%s entered", __func__);

  BTA_VendorCleanup();
  do_in_bta_thread(FROM_HERE, base::Bind(&BTA_VendorCleanup));

  btif_dm_cleanup();
  btif_jni_disassociate();