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

Commit 5f1cd034 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix not using previous var when setting audio policy & change log level" am: f29a748b

parents 2d672f50 f29a748b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1356,7 +1356,7 @@ public class HeadsetClientStateMachine extends StateMachine {
            //   2. remote device supports audio policy
            if (mForceSetAudioPolicyProperty
                    && getAudioPolicyRemoteSupported() == BluetoothStatusCodes.FEATURE_SUPPORTED) {
                setAudioPolicy(new BluetoothSinkAudioPolicy.Builder()
                setAudioPolicy(new BluetoothSinkAudioPolicy.Builder(mHsClientAudioPolicy)
                        .setActiveDevicePolicyAfterConnection(mConnectingTimePolicyProperty)
                        .setInBandRingtonePolicy(mInBandRingtonePolicyProperty)
                        .build());
@@ -2244,7 +2244,7 @@ public class HeadsetClientStateMachine extends StateMachine {
        mHsClientAudioPolicy = policies;

        if (getAudioPolicyRemoteSupported() != BluetoothStatusCodes.FEATURE_SUPPORTED) {
            Log.e(TAG, "Audio Policy feature not supported!");
            Log.i(TAG, "Audio Policy feature not supported!");
            return;
        }