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

Commit c603a822 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4388906 from 3c1e4b77 to oc-mr1-release

Change-Id: Ica44b17bfb2b3f1339e40fc3a709bfd8afa056c6
parents 9467e2c5 3c1e4b77
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -687,9 +687,12 @@ int disable_snd_device(struct audio_device *adev,
            audio_extn_spkr_prot_is_enabled()) {
            audio_extn_spkr_prot_stop_processing(snd_device);

            // FIXME b/65363602: bullhead is the only Nexus with audio_extn_spkr_prot_is_enabled()
            // and does not use speaker swap. As this code causes a problem with device enable ref
            // counting we remove it for now.
            // when speaker device is disabled, reset swap.
            // will be renabled on usecase start
            platform_set_swap_channels(adev, false);
            // platform_set_swap_channels(adev, false);

        } else if (platform_can_split_snd_device(snd_device,
                                                 &num_devices,