|
|
@@ -96,7 +96,7 @@ public class ApkUtils {
|
|
|
* @param apkPath apkPath
|
|
|
*/
|
|
|
public static final void installApk(final Context context, final String apkPath) {
|
|
|
- final ProgressDialog progress = new ProgressDialog(context);
|
|
|
+ final ProgressDialog progress = new ProgressDialog(SheepApp.getInstance().getCurrentActivity());
|
|
|
progress.setMessage("正在检测安装程序的安全性,请稍候");
|
|
|
progress.show();
|
|
|
final ApkFileInfo apkFileInfo = new ApkFileInfo();
|