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

Commit 9e25364d authored by William Escande's avatar William Escande
Browse files

Revert "Cleanup hfp callback during cleanup call"

This reverts commit fe4986b0.

Reason for revert: b/277523771

Bug: 277523771
Change-Id: I0e8fd1a9cb21e336a2f55f49559602eca3416090
Test: net_test_btif
parent 0a912f16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1536,7 +1536,7 @@ void HeadsetInterface::Cleanup() {
    }
  }

  bt_hf_callbacks = nullptr;
  do_in_jni_thread(FROM_HERE, base::Bind([]() { bt_hf_callbacks = nullptr; }));
}

bt_status_t HeadsetInterface::SetScoOffloadEnabled(bool value) {