Skip to content

Commit

Permalink
Set export to false for vpn service
Browse files Browse the repository at this point in the history
  • Loading branch information
kl committed Oct 14, 2024
1 parent 12ccbe3 commit 49e4c18
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,12 @@
<action android:name="net.mullvad.mullvadvpn.request_vpn_permission" />
</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"
Expand Down

0 comments on commit 49e4c18

Please sign in to comment.