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

Commit b4704c35 authored by Yuyang Huang's avatar Yuyang Huang Committed by Gerrit Code Review
Browse files

Merge "add processIntentScoVolume log" into main

parents 97465680 d71aae66
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1503,6 +1503,11 @@ public class HeadsetStateMachine extends StateMachine {

        private void processIntentScoVolume(Intent intent, BluetoothDevice device) {
            int volumeValue = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_VALUE, 0);
            stateLogD(
                    "processIntentScoVolume: mSpeakerVolume="
                            + mSpeakerVolume
                            + ", volumeValue="
                            + volumeValue);
            if (mSpeakerVolume != volumeValue) {
                mSpeakerVolume = volumeValue;
                mNativeInterface.setVolume(device, HeadsetHalConstants.VOLUME_TYPE_SPK,