Merge pull request #544 from yuhan6665/android-system
Add "Android System" in per-app vpn
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
android
|
||||
com.android.chrome
|
||||
com.google.android.googlequicksearchbox
|
||||
com.google.android.apps.photos
|
||||
@@ -193,4 +194,4 @@ tv.twitch.android.app
|
||||
com.shanga.walli
|
||||
com.whatsapp
|
||||
com.wire
|
||||
com.simplehabit.simplehabitapp
|
||||
com.simplehabit.simplehabitapp
|
||||
|
||||
@@ -16,7 +16,7 @@ object AppManagerUtil {
|
||||
val apps = ArrayList<AppInfo>()
|
||||
|
||||
for (pkg in packages) {
|
||||
if (!pkg.hasInternetPermission) continue
|
||||
if (!pkg.hasInternetPermission && pkg.packageName != "android") continue
|
||||
|
||||
val applicationInfo = pkg.applicationInfo
|
||||
|
||||
@@ -40,4 +40,4 @@ object AppManagerUtil {
|
||||
val permissions = requestedPermissions
|
||||
return permissions?.any { it == Manifest.permission.INTERNET } ?: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user