Merge "[BUG] AudioService: PlaybackActivityMonitor: fix exploding list" am: 3e5cf8398a am: d2648ea1d7 am: f130b84f71
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1421470 Change-Id: I0c0b99c563c2036b742f184c82929326dab792cf
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