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

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

Merge "remove early return to make aptx SWB consistent with and without...

Merge "remove early return to make aptx SWB consistent with and without isScoManagedByAudioEnabled" into main
parents bdae16cc 7e76a98a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1177,7 +1177,6 @@ public class HeadsetService extends ProfileService {
                            am.setCommunicationDevice(audioDeviceInfo.get());
                            Log.i(TAG, "Audio Manager will initiate the SCO for Voice Recognition");
                        });
                return true;
            } else {
                Log.w(
                        TAG,
@@ -1232,7 +1231,6 @@ public class HeadsetService extends ProfileService {
                    () -> {
                        mSystemInterface.getAudioManager().clearCommunicationDevice();
                    });
            return true;
        }
        enableSwbCodec(HeadsetHalConstants.BTHF_SWB_CODEC_VENDOR_APTX, false, device);
        return true;