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

Commit da65e868 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "Call BTA_VendorCleanup on proper thread"

am: 34530bb3

Change-Id: Ifca440266846548be8a99ec5ab68c07f16e9e8be
parents c9c7aed6 34530bb3
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();