1、下载模块部分重构

2、整理actionbar高度问题,测试toolbar,暂时未启用
3、sharedpreference使用default文件
This commit is contained in:
CsHeng
2017-07-10 14:35:32 +08:00
parent 5244fe73ea
commit 10b1380aad
58 changed files with 1118 additions and 728 deletions

View File

@ -213,7 +213,7 @@ public class DownloadDialog implements OnCollectionCallBackListener {
String packageName;
Object gh_id;
for (ApkEntity apkEntity : apkList) {
downloadEntity = DownloadManager.getInstance(mContext).get(apkEntity.getUrl());
downloadEntity = DownloadManager.getInstance(mContext).getDownloadEntityByUrl(apkEntity.getUrl());
if (downloadEntity == null) {
packageName = apkEntity.getPackageName();
if (PackageManager.isInstalled(packageName)) {