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

Commit edc268cb authored by jiabin's avatar jiabin Committed by android-build-merger
Browse files

Merge "Clear input routing when closeAllInputs()." into pi-dev am: 2383098d

am: 42a6dd54

Change-Id: I543aeaaafc3b6df3cc04995bcf433c724c093655
parents 37108024 42a6dd54
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2146,6 +2146,7 @@ void AudioPolicyManager::closeAllInputs() {
        }
        inputDesc->close();
    }
    mInputRoutes.clear();
    mInputs.clear();
    SoundTrigger::setCaptureState(false);
    nextAudioPortGeneration();