Merge "[BUG] AudioService: PlaybackActivityMonitor: fix exploding list" am: 3e5cf8398a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1421470 Change-Id: I62fdbcd0842c161529f01dc47c808e13984c6afc
This commit is contained in:
@@ -783,7 +783,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