Merge "[BUG] AudioService: PlaybackActivityMonitor: fix exploding list"
This commit is contained in:
@@ -783,7 +783,7 @@ public final class PlaybackActivityMonitor
|
|||||||
// the same time if we still have a public client.
|
// the same time if we still have a public client.
|
||||||
while (clientIterator.hasNext()) {
|
while (clientIterator.hasNext()) {
|
||||||
PlayMonitorClient pmc = clientIterator.next();
|
PlayMonitorClient pmc = clientIterator.next();
|
||||||
if (pcdb.equals(pmc.mDispatcherCb)) {
|
if (pcdb.asBinder().equals(pmc.mDispatcherCb.asBinder())) {
|
||||||
pmc.release();
|
pmc.release();
|
||||||
clientIterator.remove();
|
clientIterator.remove();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user