[3.2.0][应用升级] 静默安装成功后,自动启动安装后的应用
This commit is contained in:
@@ -42,8 +42,8 @@ class ApkInstaller {
|
||||
intent.setPackage("com.mogo.appstore")
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES)
|
||||
intent.putExtra("command", "install_apk")
|
||||
intent.putExtra("is_open", false)
|
||||
intent.putExtra("is_forced", false)
|
||||
intent.putExtra("is_open", true)
|
||||
intent.putExtra("is_forced", true)
|
||||
intent.putExtra("apk_path", apkFile.absolutePath)
|
||||
intent.putExtra("apk_pkg", context.packageName)
|
||||
context.sendBroadcast(intent)
|
||||
|
||||
Reference in New Issue
Block a user