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

Commit 508ea0a3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Cleanup hfp callback during cleanup call"

parents fbc98156 fe4986b0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1428,7 +1428,8 @@ void HeadsetInterface::Cleanup() {
    btif_disable_service(BTA_HSP_SERVICE_ID);
  }
#endif
  do_in_jni_thread(FROM_HERE, base::Bind([]() { bt_hf_callbacks = nullptr; }));

  bt_hf_callbacks = nullptr;
}

bt_status_t HeadsetInterface::SetScoOffloadEnabled(bool value) {