diff options
| author | Kalle Lindström <karl.lindstrom@mullvad.net> | 2024-10-16 12:50:26 +0200 |
|---|---|---|
| committer | Kalle Lindström <karl.lindstrom@mullvad.net> | 2024-10-22 15:41:49 +0200 |
| commit | 2265824f16ff5e2b94e9557a50e9dc01d645962a (patch) | |
| tree | e51581569b6d5b1826af704911b441b98759d9ce | |
| parent | 1ec8c9d6c4dc799fb0c6479cdc9dad438bf37129 (diff) | |
| download | mullvadvpn-2265824f16ff5e2b94e9557a50e9dc01d645962a.tar.xz mullvadvpn-2265824f16ff5e2b94e9557a50e9dc01d645962a.zip | |
Set mullvad vpn service exported to false
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 443f8d631d..dd660cda4b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -62,17 +62,11 @@ </intent-filter> </activity> <!-- - MullvadVpnService - It's unclear in the documentation whether the service must/should be exported or not, - however as it's protected by the bind vpn permission - (android.permission.BIND_VPN_SERVICE) it's protected against third party apps/services. - --> - <!-- foregroundServiceType="systemExempted" is required in Android 14+ https://developer.android.com/guide/components/fg-service-types#system-exempted --> <service android:name="net.mullvad.mullvadvpn.service.MullvadVpnService" - android:exported="true" + android:exported="false" android:foregroundServiceType="systemExempted" android:permission="android.permission.BIND_VPN_SERVICE" android:stopWithTask="false" |
