fix: 修复下载实例快照列表为空时的闪退
This commit is contained in:
@ -649,7 +649,7 @@ public class DownloadManager implements DownloadStatusListener {
|
||||
public void initGameMap() {
|
||||
gameMap.clear();
|
||||
List<DownloadEntity> list = getAllDownloadEntitySnapshots();
|
||||
if (list != null && list.size() != 0) {
|
||||
if (list.size() != 0) {
|
||||
String name;
|
||||
for (DownloadEntity downloadEntity : list) {
|
||||
name = downloadEntity.getName();
|
||||
|
||||
Reference in New Issue
Block a user