From 329ef41f51f6a1da799e15d74bf0f859a48943d7 Mon Sep 17 00:00:00 2001 From: RemiDre Date: Wed, 25 Dec 2024 12:23:52 +0800 Subject: [PATCH] fix: Some apps are not displayed in the app list --- .../java/com/github/kr328/clash/AccessControlActivity.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/github/kr328/clash/AccessControlActivity.kt b/app/src/main/java/com/github/kr328/clash/AccessControlActivity.kt index b3575341..1236cf6a 100644 --- a/app/src/main/java/com/github/kr328/clash/AccessControlActivity.kt +++ b/app/src/main/java/com/github/kr328/clash/AccessControlActivity.kt @@ -116,9 +116,8 @@ class AccessControlActivity : BaseActivity() { 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