summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/main
diff options
context:
space:
mode:
authorKalle Lindström <karl.lindstrom@mullvad.net>2024-10-16 12:50:26 +0200
committerKalle Lindström <karl.lindstrom@mullvad.net>2024-10-22 15:41:49 +0200
commit2265824f16ff5e2b94e9557a50e9dc01d645962a (patch)
treee51581569b6d5b1826af704911b441b98759d9ce /android/app/src/main
parent1ec8c9d6c4dc799fb0c6479cdc9dad438bf37129 (diff)
downloadmullvadvpn-2265824f16ff5e2b94e9557a50e9dc01d645962a.tar.xz
mullvadvpn-2265824f16ff5e2b94e9557a50e9dc01d645962a.zip
Set mullvad vpn service exported to false
Diffstat (limited to 'android/app/src/main')
-rw-r--r--android/app/src/main/AndroidManifest.xml8
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"