diff options
author | Hwanseung Lee <hwanseung@chromium.org> | 2022-12-01 02:25:07 +0900 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-12-01 00:15:39 +0530 |
commit | 0459d6d9f4d9a8e22121e4b8ee010fda88209467 (patch) | |
tree | c334c0e8ff70fa31070207b7c483c662c4a67789 | |
parent | 4ff564521fd42dcd54c8e0886317cae64d19d6f3 (diff) |
ui: un-export VpnService
There is no reason to expose this service to external apps.[1]
[1] https://developer.android.com/guide/topics/manifest/activity-element#exported
Signed-off-by: Hwanseung Lee <hwanseung@chromium.org>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | tunnel/src/main/AndroidManifest.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/src/main/AndroidManifest.xml b/tunnel/src/main/AndroidManifest.xml index dc0d6c7f..9db194f8 100644 --- a/tunnel/src/main/AndroidManifest.xml +++ b/tunnel/src/main/AndroidManifest.xml @@ -10,7 +10,7 @@ <service android:name="com.wireguard.android.backend.GoBackend$VpnService" android:permission="android.permission.BIND_VPN_SERVICE" - android:exported="true"> + android:exported="false"> <intent-filter> <action android:name="android.net.VpnService" /> </intent-filter> |