fix for concurrency issue

This commit is contained in:
iNPUTmice 2014-11-29 13:09:56 +01:00
parent 3d8a2e7923
commit 1ff9293ee1

View file

@ -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);