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

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

Merge cherrypicks of [8681848, 8682094, 8682365, 8682497, 8682498, 8682518,...

Merge cherrypicks of [8681848, 8682094, 8682365, 8682497, 8682498, 8682518, 8682519, 8681849, 8681887, 8681888, 8682539, 8682540, 8682541, 8681283, 8682521] into qt-release

Change-Id: Ic6e5a0ed8a340bb3d3b13e353acf5edbebea8306
parents 7879fa98 b5dc2d1e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2396,7 +2396,8 @@ void AudioPolicyManager::checkCloseInputs() {
    for (size_t i = 0; i < mInputs.size(); i++) {
        const sp<AudioInputDescriptor> input = mInputs.valueAt(i);
        if (input->clientsList().size() == 0
                || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())) {
                || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())
                || (input->getAudioPort()->getFlags() & AUDIO_INPUT_FLAG_MMAP_NOIRQ) != 0) {
            inputsToClose.push_back(mInputs.keyAt(i));
        } else {
            bool close = false;