Merge "AudioService: RecordActivityMonitor: fix unbounded list growth"
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user