修复插件化弹窗闪退的问题

This commit is contained in:
chenjuntao
2020-01-19 10:17:22 +08:00
parent 347cfdb72d
commit 4840c5c604

View File

@ -508,7 +508,7 @@ public class PlatformAdapter extends BaseRecyclerAdapter<PlatformViewHolder> {
if (downloadEntity == null) return;
String path = mEntryMap.get(downloadEntity).getPath();
String path = downloadEntity.getPath();
if (FileUtils.isEmptyFile(path)) {
Utils.toast(mContext, R.string.install_failure_hint);
mEntryMap.remove(apkEntity.getUrl());