fix: Some apps are not displayed in the app list

This commit is contained in:
RemiDre 2024-12-25 12:23:52 +08:00
parent e15477cc04
commit 329ef41f51

View file

@ -116,9 +116,8 @@ class AccessControlActivity : BaseActivity<AccessControlDesign>() {
packages.asSequence()
.filter {
it.packageName != packageName
}
.filter {
it.packageName == "android" || it.requestedPermissions?.contains(INTERNET) == true
|| it.packageName == "android"
|| it.requestedPermissions?.contains(INTERNET) == true
}
.filter {
systemApp || !it.isSystemApp