Merge "[BUG] AudioService: PlaybackActivityMonitor: fix exploding list" am: 3e5cf8398a am: d2648ea1d7 am: f130b84f71 am: ef3cafc9e1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1421470 Change-Id: Ia34fb2bb8817d63955da4bf5920a8834093850ff
This commit is contained in:
@@ -817,7 +817,7 @@ public final class PlaybackActivityMonitor
|
||||
// the same time if we still have a public client.
|
||||
while (clientIterator.hasNext()) {
|
||||
PlayMonitorClient pmc = clientIterator.next();
|
||||
if (pcdb.equals(pmc.mDispatcherCb)) {
|
||||
if (pcdb.asBinder().equals(pmc.mDispatcherCb.asBinder())) {
|
||||
pmc.release();
|
||||
clientIterator.remove();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user