fix: 捕抓下载时数据库 IO 异常触发的闪退 https://sentry.shanqu.cc/organizations/lightgame/issues/261125/?project=22&query=is%3Aunresolved&sort=freq&statsPeriod=14d
This commit is contained in:
@ -263,6 +263,7 @@ public class DetailDownloadUtils {
|
||||
case redirected:
|
||||
case pause:
|
||||
case diskisfull:
|
||||
case diskioerror:
|
||||
case overflow:
|
||||
String downloadingText = "游戏加载中 " + downloadEntity.getPercent() + "%";
|
||||
String resumeText = "继续加载 " + downloadEntity.getPercent() + "%";
|
||||
@ -350,6 +351,7 @@ public class DetailDownloadUtils {
|
||||
case neterror:
|
||||
case subscribe:
|
||||
case diskisfull:
|
||||
case diskioerror:
|
||||
case pause:
|
||||
viewHolder.mDownloadPb.setText("继续加载 " + viewHolder.downloadEntity.getPercent() + "%");
|
||||
viewHolder.mDownloadPb.setButtonStyle(DownloadButton.ButtonStyle.DOWNLOADING_NORMAL);
|
||||
|
||||
Reference in New Issue
Block a user