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

Commit 6e261d7b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "AudioService: RecordActivityMonitor: fix unbounded list growth"

parents 47b156d6 1c9ea30b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ public final class RecordingActivityMonitor implements AudioSystem.AudioRecordin
            boolean hasPublicClients = false;
            while (clientIterator.hasNext()) {
                RecMonitorClient rmc = clientIterator.next();
                if (rcdb.equals(rmc.mDispatcherCb)) {
                if (rcdb.asBinder().equals(rmc.mDispatcherCb.asBinder())) {
                    rmc.release();
                    clientIterator.remove();
                } else {