修复插件化问题

This commit is contained in:
huangzhuanghua
2016-09-19 13:07:47 +08:00
parent 3c512273f0
commit 69033c0657
14 changed files with 123 additions and 38 deletions

View File

@ -975,6 +975,7 @@ public class DownloadDialog {
} else {
PackageManager manager = new PackageManager(context);
if (manager.launchSetup(path)) {
EventBus.getDefault().post(new EBPutUrl(apkEntity.getPackageName(), apkEntity.getUrl()));
context.startActivity(PackageUtils.getInstallIntent(path));
} else {
DialogUtils.showPluginDialog(context, new DialogUtils.ConfiremListener() {