This commit is contained in:
Horis 2023-12-10 11:35:48 +08:00
parent c61b68bd22
commit af4f6c5b87

View File

@ -22,9 +22,6 @@ object IntentHelp {
if (intent.resolveActivity(appCtx.packageManager) == null) {
return Intent.createChooser(intent, "请选择浏览器")
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
intent.`package` = appCtx.packageName
}
return intent
}