mCheckedList could be accessed in 2 threads, AlbumActivity and GalleryActivity(onPreviewChanged). AlbumActivity calls complete() and start new thread to generate thumbnail, while galleryactivity uncheck some file and change mCheckedList, then will crash.
This change will not allow changing mCheckedList while thumbnail task is running.