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

Commit d4289d0a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Release audio record when mirroring ends" into main

parents ac9b9a0c bfe173d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -589,7 +589,7 @@ public abstract class MediaRoute2ProviderService extends Service {
        if (audioManager == null) {
            return;
        }
        audioRecord.stop();
        audioRecord.release();
        audioManager.unregisterAudioPolicy(audioPolicy);
    }