mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Fix ConcurrentModificationException in virtual controller code
This commit is contained in:
parent
22977a4c5b
commit
e93b103d1e
@ -78,8 +78,8 @@ public class VirtualController {
|
||||
public void removeElements() {
|
||||
for (VirtualControllerElement element : elements) {
|
||||
relative_layout.removeView(element);
|
||||
elements.remove(element);
|
||||
}
|
||||
elements.clear();
|
||||
}
|
||||
|
||||
public void addElement(VirtualControllerElement element, int x, int y, int width, int height) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user