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

Commit cfd98a39 authored by Sanket Agarwal's avatar Sanket Agarwal Committed by Gerrit Code Review
Browse files

Merge "Let audio HAL know when BT is turned off"

parents d4be1bd1 01279198
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -861,6 +861,9 @@ final class HeadsetClientStateMachine extends StateMachine {

    public void doQuit() {
        Log.d(TAG, "doQuit");
        if (mAudioManager != null) {
            mAudioManager.setParameters("hfp_enable=false");
        }
        quitNow();
    }