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

Commit 2383098d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clear input routing when closeAllInputs()." into pi-dev

parents ef3dbdbf 829a00bd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2141,6 +2141,7 @@ void AudioPolicyManager::closeAllInputs() {
        }
        inputDesc->close();
    }
    mInputRoutes.clear();
    mInputs.clear();
    SoundTrigger::setCaptureState(false);
    nextAudioPortGeneration();