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

Commit ab49939b 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 98b56f17 c65a931f
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();
    }