diff options
-rw-r--r-- | main/src/main/AndroidManifest.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.xml index 1afe859e..4a8348e1 100644 --- a/main/src/main/AndroidManifest.xml +++ b/main/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> <!-- Used to show all apps in the allowed Apps selection, this app needs the list the app in the allow/deny apps over the VPN --> @@ -52,11 +53,13 @@ android:name=".core.OpenVPNService" android:exported="true" android:permission="android.permission.BIND_VPN_SERVICE" - android:foregroundServiceType="connectedDevice" + android:foregroundServiceType="specialUse" android:process=":openvpn"> <intent-filter> <action android:name="android.net.VpnService" /> </intent-filter> + <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="vpn"/> + </service> <service android:name=".api.ExternalOpenVPNService" |