From be5a98ccfe58c1c4f249dd65ce57f77a2c9a45b9 Mon Sep 17 00:00:00 2001 From: iKirby <6316115+iKirby@users.noreply.github.com> Date: Tue, 25 Feb 2025 20:56:23 +0800 Subject: [PATCH] Use systemExempt foreground service type for VPNService --- app/src/main/AndroidManifest.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9ed1ef5..04b6a73 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -9,6 +9,7 @@ + @@ -154,14 +155,12 @@ + android:foregroundServiceType="systemExempted" + android:permission="android.permission.BIND_VPN_SERVICE" + tools:ignore="ForegroundServicePermission"> -