Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8beafe3a authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

Fixes collection modified while iterating by cloning the collection.

During a user switch, in MediaRouterService, a collection of users was
modified while iterating, which ends up skipping some elements of the
collection unintentionally. This CL creates a clone of the collection
before the for loop to prevent the issue.

Bug: 260410380
Test: n/a
Change-Id: Iec4d460ba0a0ca1325506e729f58715bb2d68898
parent 2ff1284e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment