GoBackend: Use the android VpnService to encapsulate the go backend

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Aurélien Chabot
2018-04-17 02:15:24 +02:00
committed by Jason A. Donenfeld
parent 19aec7c5c6
commit 9dfab4d60f
3 changed files with 99 additions and 7 deletions
+8
View File
@@ -50,6 +50,14 @@
</intent-filter>
</receiver>
<service
android:name=".backend.GoBackend$VpnService"
android:permission="android.permission.BIND_VPN_SERVICE" >
<intent-filter>
<action android:name="android.net.VpnService" />
</intent-filter>
</service>
<service
android:name=".QuickTileService"
android:icon="@drawable/ic_tile"