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

Commit fc69ed40 authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by android-build-merger
Browse files

Merge "Disconnect HandsFree Profile Client on shutdown." am: 88560a69 am:...

Merge "Disconnect HandsFree Profile Client on shutdown." am: 88560a69 am: 04dd3e69 am: 2397de91
am: 00b86112

Change-Id: Ic4045b347d4c760e19a444948c9459c913a61b97
parents 1bc06e4a 00b86112
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -777,6 +777,9 @@ public class HeadsetClientStateMachine extends StateMachine {

    public void doQuit() {
        Log.d(TAG, "doQuit");
        if (mCurrentDevice != null) {
            NativeInterface.disconnectNative(getByteAddress(mCurrentDevice));
        }
        routeHfpAudio(false);
        returnAudioFocusIfNecessary();
        quitNow();