diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-29 13:09:56 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-29 13:09:56 +0100 |
commit | 1ff9293ee14a3989fa8a112f28e7f611b49bfb7a (patch) | |
tree | aed2ba2dbc9b6cd7bcb07da62fa4cca7da34f836 /src/main/java/eu | |
parent | 3d8a2e7923b3e7028fd1541ed7ff5d74735d892b (diff) |
fix for concurrency issue
Diffstat (limited to 'src/main/java/eu')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/AvatarService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/AvatarService.java b/src/main/java/eu/siacs/conversations/services/AvatarService.java index 1125859c..70c1d4dd 100644 --- a/src/main/java/eu/siacs/conversations/services/AvatarService.java +++ b/src/main/java/eu/siacs/conversations/services/AvatarService.java @@ -113,7 +113,7 @@ public class AvatarService { if (bitmap != null) { return bitmap; } - List<MucOptions.User> users = mucOptions.getUsers(); + final List<MucOptions.User> users = new ArrayList<>(mucOptions.getUsers()); int count = users.size(); bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); |